Errors
#1

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

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

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

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

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

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

Ok, fixed it, thanks .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)