07.03.2014, 12:29
Код:
dcmd_gzinvisible(playerid,params[]) { #pragma unused params if(CanUseGangZ[playerid] == 0) { SendClientMessage(playerid,COLOR_ERROR,"[ERROR] You must be a Gang-Z Member to use this command."); return 0; } for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00); } SendClientMessage(playerid,COLOR_PURPLE,"[Gang-Z] You are now invisible on Radar."); } return 1; }
Код:
SendClientMessage(playerid,COLOR_ERROR,"[ERROR] You must be a Gang-Z Member to use this command."); return 1;
Not tested yet!