This will work ?
#3

Quote:
Originally Posted by MrViolence101
Посмотреть сообщение
Код:
COMMAND:showg(playerid, params[])
{
    new target;
    if (sscanf(params, "u", target)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /showg [PlayerID]");
    if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, "Player not found");
    else
    {
	    if(PlayerInfo[target][PlayerGang] != -1)
		{
			new msg[50];
			format(msg, sizeof(msg), "{FFFFFF}Gang Name : {%s}%s {FFFFFF}", Gang[Player][GangColor], Gang[Player][GangName]);
			format(msg, sizeof(msg), "%s\nGang Tag : [%s]", msg2, Gang[Player][GangTag]);
			format(msg, sizeof(msg), "%s\nGang Score : %d", msg3, Gang[Player][GangScore]);
			ShowPlayerDialog(playerid, DIALOG_GCP, DIALOG_STYLE_LIST, "Player Information", msg, "Chooose", "Cancel");
		}
	     	
			
      }
    return 1;
}
Use the code above.
Reply


Messages In This Thread
This will work ? - by Stop - 12.11.2016, 08:47
Re: This will work ? - by Micko123 - 12.11.2016, 08:58
Re: This will work ? - by justice96 - 12.11.2016, 09:01
Re: This will work ? - by MrViolence101 - 12.11.2016, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)