29.06.2011, 18:02
[QUOTE]Look at this :
And this Happen when i Complie It :
Any ways to fix this ?
Quote:
public OnPlayerDeath(playerid, killerid, reason) { // Add 1 to this killer's score. if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); return 1; } { GameTextForPlayer(playerid,"~r~Wasted",3000,2); return 1; } |
Quote:
E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(52) : warning 202: number of arguments does not match definition E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(53) : warning 202: number of arguments does not match definition E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(54) : warning 202: number of arguments does not match definition E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(93) : error 055: start of function body without function header E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(95) : error 010: invalid function or declaration E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(135) : warning 217: loose indentation E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(140) : warning 217: loose indentation E:\LOSSAN~1\GAMEMO~1\LSGW2.pwn(145) : warning 209: function "OnPlayerCommandText" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |