Quote:
Originally Posted by Skribblez
You've got some mistakes on getting the player's name. Try this one.
pawn Код:
CMD:helpers(playerid, params[]) { for(new i; i < MAX_PLAYERS; i++) { if(GetPVarInt(i, "Helper") == 1) { if(GetPVarInt(i, "HStatus") == 0) format(string, sizeof(string), "* %s "COL_GREEN"[AVAILABLE]", RemoveUnderScore(i)); else format(string, sizeof(string), "* %s "COL_RED"[UNAVAILABLE]", RemoveUnderscore(i)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } return 1; }
|
ok thanks, ill try this one as well