24.03.2015, 04:48
Try this:
Код:
/* Mask Maded By Paul_Saint & VIPAwesome */ #include <a_samp> #include <ZCMD> #define COLOR_GREY 0xAFAFAFAA new masked[MAX_PLAYERS]; CMD:mask(playerid, params[]) { if(masked[playerid] == 0) { masked[playerid] = 1; SendClientMessage(playerid, -1,"You are now masked and your name is hidden."); for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i,playerid, false); } else { masked[playerid] = 0; SendClientMessage(playerid, -1,"You are no longer masked and your name is visble."); for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i,playerid, true); } return true; }