25.07.2009, 02:39
Quote:
new pm; |
Quote:
if(strcmp(cmd, "/pmoff", true) == 0) { pm = 1; SendClientMessage(playerid, COLOR_GREY, "PM's toggled off!"); } return 1; } if(strcmp(cmd, "/pmon", true) == 0) { pm = 0; SendClientMessage(playerid, COLOR_GREY, "PM's toggled on!"); } return 1; } |
Quote:
if(pm == 1) { SendClientMessage(playerid, COLOR_GREY, "Admin disabled PM's!"); return 1; } else if(pm == 0) { |