07.08.2010, 21:26
Код:
if(strcmp(cmd, "/checkooc", true) == 0) { new block[MAX_PLAYERS]; if(IsPlayerConnected(playerid)) { if (block[playerid]=0) { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "OOC Is Currently Disabled"); block[playerid]=1; } else if(block[playerid=1) { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "OOC Is Currenly Enabled"); } } return 1; }