Help with #define
#3

PHP код:
if (strcmp("/status"cmdtexttrue10) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
        new 
name[MAX_PLAYER_NAME+1];
        
GetPlayerName(playeridnamesizeof(name));
        new 
string1[128],stats[1024];
            
format(string1,sizeof(string1),"Nume:%s\nSkill:%d\nBani:%d\nFactiune:%d",name,PlayerInfo[playerid][wSkill],PlayerInfo[playerid][pCash],gTeam[playerid]);
            
format(statssizeof stats"%s"string1);
            
ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Your account:",stats,"Ok","");
            }
    } 
Here's the command Nume = Name, Bani = Money and Factiune = Faction
Reply


Messages In This Thread
Help with #define - by ZeroTheScyther - 18.07.2013, 13:55
Re: Help with #define - by faff - 18.07.2013, 14:00
Re: Help with #define - by ZeroTheScyther - 18.07.2013, 14:03
Re: Help with #define - by faff - 18.07.2013, 14:08
Re: Help with #define - by ZeroTheScyther - 18.07.2013, 14:14
Re: Help with #define - by faff - 18.07.2013, 14:16

Forum Jump:


Users browsing this thread: 2 Guest(s)