SA-MP Forums Archive
Pawno error - 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: Pawno error (/showthread.php?tid=245573)



Pawno error - gooberz - 31.03.2011

Pawn code:
http://pastebin.com/3gtQ8WLh

I only included the stuff for the script pertaining to this problem, so it would be easier.

Errors:
(694= line 6 in the pastebin) : error 017: undefined symbol "Gate"
(828= line 13 in the pastebin) : error 017: undefined symbol "Gate"
(834= line 19 in the pastebin) : error 017: undefined symbol "Gate"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

__________________________________________________ ______________________________
I have exactly what this video has, and his gates work O.o
[ame]http://www.youtube.com/watch?v=E_aO0Bp64I4&feature=related[/ame]
He seems to know what hes doing so im lost on why this isnt working, and after trying everything i could possibly find, im coming here.


Re: Pawno error - mprofitt - 31.03.2011

Are you using a streamer?


Re: Pawno error - gooberz - 31.03.2011

Actually im just going to put the whole thing onto pastebin one sec.


Re: Pawno error - gooberz - 31.03.2011

http://pastebin.com/nzyJ2eey


Re: Pawno error - mprofitt - 31.03.2011

you have a streamer include in your script. which streamer are you using?


Re: Pawno error - LuxurioN™ - 31.03.2011

Quote:
Originally Posted by gooberz
Посмотреть сообщение
Well. I Just changed one line and it compiled.
Pastebin.


Re: Pawno error - gooberz - 31.03.2011

Quote:
Originally Posted by LuxurioN™
Посмотреть сообщение
Well. I Just changed one line and it compiled.
Pastebin.
Ok well i just went IG and the cmd works and i receive the message ,but the gate does not move. :O?
http://s299.photobucket.com/albums/m...pyfox44/pawno/


Re: Pawno error - gooberz - 01.04.2011

Quote:
Originally Posted by gooberz
Посмотреть сообщение
Ok well i just went IG and the cmd works and i receive the message ,but the gate does not move. :O?
http://s299.photobucket.com/albums/m...pyfox44/pawno/
Ok i have the xyz the same, im going to change it and retry.


Re: Pawno error - LuxurioN™ - 01.04.2011

Quote:
Originally Posted by gooberz
Посмотреть сообщение
Ok well i just went IG and the cmd works and i receive the message ,but the gate does not move. :O?
http://s299.photobucket.com/albums/m...pyfox44/pawno/
Ye, sure. You dont added all parameters on MoveObject... Look:

pawn Код:
MoveObject(Gate, 2102.1103515625, 2462.9501953125, 1);
MoveObject(ObjectID, X,Y,Z,Speed);


Re: Pawno error - gooberz - 01.04.2011

Quote:
Originally Posted by gooberz
Посмотреть сообщение
Ok i have the xyz the same, im going to change it and retry.
Ok, its working. So now that I have that, any idea on how to make it so you can only use the cmd if your within a range of the object it self? I want to be able to use the same cmd on all gates, without them all opening at once.