SA-MP Forums Archive
wtf is this things problem? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: wtf is this things problem? (/showthread.php?tid=508009)



wtf is this things problem? - KaliKs - 20.04.2014

hey guys i need to know why is this giving me always eroor where ever i put it ( creating moving gate )

Код:
error 017: undefined symbol "playerid"
this is making me really mad.....

Код:
if(IsPlayerInRangeOfPoint(playerid, 15.0, 8.0, 3.0, 10.0))



Re : wtf is this things problem? - Noliax8 - 20.04.2014

Where you use IsPlayerInRangeOfPoint ? It's because in your callback, playerid is undefined.


Re: wtf is this things problem? - Astralis - 20.04.2014

Where do you put it? Show the lines before it.


Re: wtf is this things problem? - biker122 - 20.04.2014

Show us the whole code(if possible).
If it's a command, show us that, or if it's a function/public show it.


Re: wtf is this things problem? - Dragon2 - 20.04.2014

change playerid to i


Re: wtf is this things problem? - KaliKs - 20.04.2014

thanks. but just to ask could anyone help me creating a moving doors ( i would apreciate that alot ) as this map is ready but i just need to get these doors working ))you get credit for helping me create the moving doors


Re: wtf is this things problem? - Astralis - 20.04.2014

https://sampforum.blast.hk/showthread.php?tid=278880


Re: wtf is this things problem? - Dragon2 - 20.04.2014

Well there are objects for doors and when you go inside it moves