sagabmx
2010-12-21 09:57:02
[Hint] C:\Simba\Includes\SRL/SRL/core/gametab.scar(1514:3): Variable 'P' never used at line 1513
[Error] (431:72): Type mismatch at line 430
Compiling failed.
Line 430:
DepositObj := GetObjectsByID([36788],OBJECT_TYPE_INTERACTABLE,14);
What seems to be the problem?
I believe this is in the wrong forum, and post the whole script you are using.
Also, see to it that you have updated your SRL and Reflection to the latest.
sagabmx
2010-12-21 12:30:51
I Couldn't find the right sub-forum.
But this appears on all scripts.
It shouldn't because the line you posted is a Reflection function. The Gametab.scar file mentioned is also a normal SRL color file and should have no instance of that line in it. I don't think this would appear on all scripts when compiled…
sagabmx
2010-12-21 17:48:35
I can make screens of a couple ones if u want! :P
pyroryan
2010-12-22 04:35:56
Change
DepositObj := GetObjectsByID([36788],OBJECT_TYPE_INTERACTABLE,14);
to
DepositObj := GetObjectsByIDEx([36788],OBJECT_TYPE_INTERACTABLE,14);
Ah, I got confused. Didn't see that it was a hint :p. You shouldn't include hints when you're looking for help. Anyways, I don't use Reflection, so yeah I'd do what pyroryan said above :).