Pawno error
#1

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.
Reply
#2

Are you using a streamer?
Reply
#3

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

http://pastebin.com/nzyJ2eey
Reply
#5

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

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

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/
Reply
#8

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.
Reply
#9

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);
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)