07.08.2009, 16:23
I get errors on my /kill command. Line 287 is defining what that type of spawn is, so when they spawn after death it says "blah blah blah"
ERRORS:
pawn Код:
if (strcmp(cmd, "/kill", true) == 0) //line 281
{ //line 282
if(IsPlayerConnected(playerid))//line 282
{//line 283
if (gPlayerLogged[playerid] != 0)//line 284
{//line 285
SendClientMessage(playerid, COLOR_RED, "You have fallen unconscious due to servere wounds!");//line 286
InjuredSpawn[playerid] = 1;//line 287
}//line 289
else//line 290
{ //line 291
SendClientMessage(playerid, COLOR_GRAY, "[!] You are not logged in!"); //line 292
return 1; //line 293
} //line 294
Код:
C:\Users\Lachlan\Desktop\Random Pawno\AntonioRP.pwn(281) : error 010: invalid function or declaration C:\Users\Lachlan\Desktop\Random Pawno\AntonioRP.pwn(283) : error 010: invalid function or declaration C:\Users\Lachlan\Desktop\Random Pawno\AntonioRP.pwn(285) : error 010: invalid function or declaration C:\Users\Lachlan\Desktop\Random Pawno\AntonioRP.pwn(290) : error 010: invalid function or declaration C:\Users\Lachlan\Desktop\Random Pawno\AntonioRP.pwn(293) : error 010: invalid function or declaration