06.02.2012, 16:28
Steel this:
Code:
C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1360) : error 017: undefined symbol "string" C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1360) : error 017: undefined symbol "string" C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1360) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\Desktop\server samp\gamemodes\testserver.pwn(1360) : 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:
GivePlayerMoney(playerid, (0 - moneys)); GivePlayerMoney(giveplayerid, moneys); new string[128]; format(string, sizeof(string), ""GREEN"You have sent $%d to %s.", giveplayer,giveplayerid, moneys); SendClientMessage(playerid, COLOR, string); format(string, sizeof(string), ""GREEN"%s gave you $%d.", moneys, sendername, playerid); SendClientMessage(giveplayerid, COLOR, string);