06.06.2016, 15:45
So as the title says i have created my server but i couldn't fix one thing so decided to ask on the forums..
These are 2 cmds made for a faction to go invisible and visible.. Now thing wrong with them is that they dont work.
Nothing Appears..Please help asap
Код:
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 1; } for(new i; i != MAX_PLAYERS; ++i) if (IsPlayerConnected(i)) return SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00); SendClientMessage(playerid,COLOR_PURPLE,"[Gang-Z] You are now invisible on the radar."); return 1; } dcmd_gzvisible(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 1; } for(new i; i != MAX_PLAYERS; ++i) if (IsPlayerConnected(i)) return SetPlayerMarkerForPlayer(i,playerid,0xFFFFFFAA); SendClientMessage(playerid,COLOR_PURPLE,"[Gang-Z] You are now visible on the radar."); return 1; }
Nothing Appears..Please help asap