26.02.2010, 00:33
Hey guys! im making my mode but i get errors for a /givecash command. But i got no clue on how to correct it. I looked on samp wiki but they're not clear for that.
Heres my errors:
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : error 017: undefined symbol "string"
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : error 017: undefined symbol "string"
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : error 029: invalid expression, assumed zero
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
N here'S my script:
format(string, sizeof(string), "You've Given $%d To %s(player: %d).", giveplayer,giveplayerid, moneys);
But under this line, i've got a similar script line with the same begining ( format(string, sizeof(string), ) and it got no errors :\ What's wrong?
thanks
Heres my errors:
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : error 017: undefined symbol "string"
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : error 017: undefined symbol "string"
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : error 029: invalid expression, assumed zero
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(547) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
N here'S my script:
format(string, sizeof(string), "You've Given $%d To %s(player: %d).", giveplayer,giveplayerid, moneys);
But under this line, i've got a similar script line with the same begining ( format(string, sizeof(string), ) and it got no errors :\ What's wrong?
thanks