24.03.2015, 04:42
Any idea why this hides everyone elses names but keeps mine visible lol. I want it to hide the name of the person who does /mask
Код:
/* 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(playerid, i, 1); } else { masked[playerid] = 0; SendClientMessage(playerid, -1,"You are no longer masked and your name is visble."); for(new a = 0; a < MAX_PLAYERS; a++) ShowPlayerNameTagForPlayer(playerid, a, 0); } return true; }