05.02.2010, 22:53
error!
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(402) : error 055: start of function body without function header
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(403) : error 010: invalid function or declaration
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(407) : error 010: invalid function or declaration
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(409) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
linha 2 {
linha 3 if(strcmp("/kill", "cmdtext", true, 10) == 0)
{
SendClientMessage("playerid, COLOR_RED,[KILL] Vocк acabou de se suicidar!");
SetPlayerHealth("playerid, 0.0); //seta a vida do jogador, deixando com 0
linha 7 return 1;
}
linha 9 return 0;
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(402) : error 055: start of function body without function header
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(403) : error 010: invalid function or declaration
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(407) : error 010: invalid function or declaration
E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(409) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
linha 2 {
linha 3 if(strcmp("/kill", "cmdtext", true, 10) == 0)
{
SendClientMessage("playerid, COLOR_RED,[KILL] Vocк acabou de se suicidar!");
SetPlayerHealth("playerid, 0.0); //seta a vida do jogador, deixando com 0
linha 7 return 1;
}
linha 9 return 0;