06.02.2012, 16:22
I get the givecash command from tthe lvdm gamemode,but when i compile it gives me this errors:
Line 1351:
Code:
C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1351) : error 017: undefined symbol "string" C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1351) : error 017: undefined symbol "string" C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1351) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1351) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Code:
format(string, sizeof(string), "You have sent $%d to %s.", giveplayer,giveplayerid, moneys);