Command not working.
#1

Whats wrong here it just shows is Federal Bureau of Investigation faction and dont show Leader name and members too
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;
}
Reply


Messages In This Thread
Command not working. - by Laure - 24.11.2012, 07:16
Re: Command not working. - by Glad2BeHere - 24.11.2012, 07:23
Re: Command not working. - by Laure - 24.11.2012, 07:25
Re: Command not working. - by Faisal_khan - 24.11.2012, 07:30
Respuesta: Command not working. - by Parka - 24.11.2012, 07:45
Re: Command not working. - by Laure - 24.11.2012, 07:47
Re: Command not working. - by Laure - 24.11.2012, 08:09
Re: Command not working. - by Glad2BeHere - 24.11.2012, 08:13
Re: Command not working. - by Laure - 24.11.2012, 08:14
Re: Command not working. - by Glad2BeHere - 24.11.2012, 08:24

Forum Jump:


Users browsing this thread: 3 Guest(s)