This will work ?
#2

PHP код:
COMMAND:showg(playeridparams[])
{
    new 
target;
    if (
sscanf(params"u"target)) return SendClientMessage(playerid0xFF0000AA"Usage: /showg [PlayerID]");
    else if (
target == INVALID_PLAYER_ID) return SendClientMessage(playerid0xFF0000AA"Player not found");
    else
        {
            new 
msg[50];
            
format(msgsizeof(msg), "{FFFFFF}Gang Name : {%s}%s {FFFFFF}"Gang[target][GangColor], Gang[target][GangName]);
            
format(msgsizeof(msg), "%s\nGang Tag : [%s]"msgGang[target][GangTag]);
            
format(msgsizeof(msg), "%s\nGang Score : %d"msgGang[target][GangScore]);
            
ShowPlayerDialog(playeridDIALOG_GCPDIALOG_STYLE_LIST"Player Information"msg"Chooose""Cancel");
        }

    return 
1;

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)