undefined errors - 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: undefined errors (
/showthread.php?tid=296551)
undefined errors -
jot16 - 12.11.2011
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.
Re: undefined errors -
br0adyb0ii - 12.11.2011
Re: undefined errors -
Chrillzen - 12.11.2011
Edit: faster
Re: undefined errors -
=WoR=G4M3Ov3r - 12.11.2011
Re: undefined errors -
jot16 - 12.11.2011
I do have new Gate; on the top of my script.Do i need to put in somewhere else?
Re: undefined errors -
Chrillzen - 12.11.2011
Put it anywhere before
Код:
Gate=CreateObject(966,1782.40002441,709.50000000,13.80000019,0.00000000,0.00000000,0.00000000);
Re: undefined errors -
=WoR=G4M3Ov3r - 12.11.2011
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.
Re: undefined errors -
jot16 - 12.11.2011
edit:fixed.
Re: undefined errors -
jot16 - 12.11.2011
Solved.