Adding Gender to the /stats
#1

Код:
public ShowStats(playerid,targetid)
{
	new string[250],pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid,pName,sizeof(pName));
	format(string,sizeof(string),""embed_blue"%s "embed_white"stats\n\
                    			"embed_blue"Age:"embed_white"$%s\n\
                                "embed_blue"Gender:"embed_white"%s\n\
								"embed_blue"Money:"embed_white"$%d\n\
                                "embed_blue"Kills:"embed_white"%d\n\
                                "embed_blue"Deaths:"embed_white"%d",
                                pName,
                                pInfo[playerid][Age],
                                pInfo[playerid][Gender],
                                pInfo[playerid][pMoney],
                                pInfo[playerid][Kills],
                                pInfo[playerid][Deaths]);

	ShowPlayerDialog(playerid,1234,DIALOG_STYLE_MSGBOX,""embed_white"Stats",string,"Ok","");
	return 1;
}
Can someone help me add a gender system to this cause all I get from this is T or the number of the gender.
Reply


Messages In This Thread
Adding Gender to the /stats - by kujox222 - 17.06.2012, 06:05
Re: Adding Gender to the /stats - by Aira - 17.06.2012, 06:12
Re: Adding Gender to the /stats - by Dubya - 17.06.2012, 06:14
Re: Adding Gender to the /stats - by kujox222 - 17.06.2012, 06:16
Re: Adding Gender to the /stats - by Dubya - 17.06.2012, 06:19
Re: Adding Gender to the /stats - by leonardo1434 - 17.06.2012, 06:23
Re: Adding Gender to the /stats - by kujox222 - 17.06.2012, 06:29
Re: Adding Gender to the /stats - by Dubya - 17.06.2012, 06:48
Re: Adding Gender to the /stats - by kujox222 - 17.06.2012, 06:57
Re: Adding Gender to the /stats - by Aira - 17.06.2012, 07:18

Forum Jump:


Users browsing this thread: 1 Guest(s)