SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Errors (/showthread.php?tid=146965)



Errors - Bomber - 09.05.2010

Why these errors ?
Код:
C:\------\R2.pwn(427) : error 017: undefined symbol "tmp"
C:\------\R2.pwn(427) : error 017: undefined symbol "tmp"
C:\------\R2.pwn(427) : error 029: invalid expression, assumed zero
C:\------\R2.pwn(427) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line 427: GetServerVarAsString("bind", tmp, sizeof(tmp));


Re: Errors - Lorenc_ - 09.05.2010

Код:
	tmp = strtok(params, index);
Try add that on top of the code


Re: Errors - Bomber - 09.05.2010

Now 1 more error .
Код:
R2.pwn(427) : error 017: undefined symbol "tmp"
R2.pwn(427) : error 017: undefined symbol "params"
R2.pwn(429) : error 017: undefined symbol "tmp"
R2.pwn(429) : error 017: undefined symbol "tmp"
R2.pwn(429) : error 029: invalid expression, assumed zero
R2.pwn(429) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Line 427: tmp = strtok(params, index);
Line 429: GetServerVarAsString("bind", tmp, sizeof(tmp));


Re: Errors - Killa_ - 09.05.2010

Delete tmp = strtok(params, index); and put
pawn Код:
new tmp[17];



Re: Errors - Bomber - 09.05.2010

Changed, and now i got these errors:
Код:
C:R2.pwn(1513) : error 017: undefined symbol "GetPVarInt"
C:R2.pwn(1515) : error 017: undefined symbol "SetPVarInt"
C:R2.pwn(1519) : error 017: undefined symbol "SetPVarInt"
C:R2.pwn(3909) : error 017: undefined symbol "GetPVarInt"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line 1513: if( GetPVarInt( playerid, "Hop" ) >= 1 )
Line 1515: SetPVarInt( playerid, "Hop", 0 ); SendClientMessage(playerid, COLOR_GOLD, "[VEHICLE] Hopping is now disabled");
Line 1519: SetPVarInt( playerid, "Hop", 1 ); SendClientMessage(playerid, COLOR_GOLD, "[VEHICLE] Hopping is now enabled");
Line 3909: if( GetPVarInt( playerid, "Hop" ) >= 1 )

These are connecting with my /jump..


Re: Errors - Killa_ - 09.05.2010

Download the latest server package http://www.sa-mp.com/download.php


Re: Errors - Bomber - 09.05.2010

Ok, fixed it, thanks .