undefined errors
#1

how can i fix it?

Line 34:
pawn Код:
Gate=CreateObject(966,1782.40002441,709.50000000,13.80000019,0.00000000,0.00000000,0.00000000);
Line 60:
pawn Код:
MoveObject(Gate, 1782.30004883,709.90002441,14.80000019, 1);
Line 72:
pawn Код:
MoveObject(Gate, 1782.19995117,709.40002441,14.60000038, 1);
Errors:
Код:
San Andreas Multiplayer\filterscripts\gate.pwn(34) : error 017: undefined symbol "Gate"
San Andreas Multiplayer\filterscripts\gate.pwn(60) : error 017: undefined symbol "Gate"
San Andreas Multiplayer\filterscripts\gate.pwn(72) : error 017: undefined symbol "Gate"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#2

pawn Код:
new gate;
Reply
#3

Edit: faster
Reply
#4

PHP код:
new Gate
Reply
#5

I do have new Gate; on the top of my script.Do i need to put in somewhere else?
Reply
#6

Put it anywhere before
Код:
Gate=CreateObject(966,1782.40002441,709.50000000,13.80000019,0.00000000,0.00000000,0.00000000);
Reply
#7

Quote:
Originally Posted by jot16
Посмотреть сообщение
I do have new Gate; on the top of my script.Do i need to put in somewhere else?
Make sure its on top, and not under ANY callback.
Reply
#8

edit:fixed.
Reply
#9

Solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)