26.07.2012, 21:55
Код:
if(strcmp(cmd,"/togpm",true)==0) { if(PlayerTemp[playerid][pmlock] == 0){ PlayerTemp[playerid][pmlock] = 1; InfoText(playerid,"Private Messages disabled",5); return true; } else{ PlayerTemp[playerid][pmlock] = 0; InfoText(playerid,"Private Messages enabled",5); return true; } }