24.11.2012, 07:16
Whats wrong here it just shows is Federal Bureau of Investigation faction and dont show Leader name and members too
please help me out
please help me out
Код:
CMD:factions(playerid, params[]) { new string[128], idx; if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command."); { format(string, sizeof(string), "Los Santos Police Department | Leader: %s | Members: %d",FacInfo[idx][FacLeader], FacInfo[idx][facMembers]); format(string, sizeof(string), "San Andreas Government | Leader: %s | Members: %d", FacInfo[idx][FacLeader], FacInfo[idx][facMembers]); format(string, sizeof(string), "The Hitman Agency | Leader: %s | Members: %d", FacInfo[idx][FacLeader], FacInfo[idx][facMembers]); format(string, sizeof(string), "San Andreas News | Leader: %s | Members: %d", FacInfo[idx][FacLeader], FacInfo[idx][facMembers]); format(string, sizeof(string), "Los Santos Fire and Medic Department | Leader: %s | Members: %d", FacInfo[idx][FacLeader], FacInfo[idx][facMembers]); format(string, sizeof(string), "Federal Bureau of Investigation | Leader: %s | Members: %d", FacInfo[idx][FacLeader], FacInfo[idx][facMembers]); SendClientMessage(playerid, COLOR_WHITE, string); } return 1; }