13.04.2010, 19:48
I Have command to block all the pm's and it was working but now its not and i dont know why and i cant see anything wrong
Код:
//-------------------------[BlockAll]----------------------------------------------
if(strcmp(cmd,"/blockall",true)==0)
{
tmp = strtok(cmdtext,idx);
if(PlayerInfo[playerid][pDonation] < 1)
{
SendClientMessage(playerid,COLOR_RED,"ERROR: Donators only (/donationhelp)");
return 1;
}
blocked[playerid] = -1;
SendClientMessage(playerid,COLOR_GREY, "All Player's Blocked, /unblockall to unblock");
return 1;
}

