29.09.2010, 09:29
Haven't bothered reading the rest of your code but I noticed your array and this:
Change
to
pawn Код:
if (strcmp(cmdtext, "/acceptdeath", true) == 0)
{
if(pdeath == 0) return SendClientMessage(playerid, 0xFF4646FF, "blablabla");
GivePlayerMoney(playerid, -500);
pdeath = 0;
return 1;
}
pawn Код:
pdeath = 0;
pawn Код:
pdeath[playerid] = 0;