/stats
#2

Код:
CMD:stats(playerid,params[])
{
	new coordsstring[128];
	format(coordsstring, sizeof(coordsstring),"____________________Stats____________________");
    SendClientMessage(playerid, COLOR_GREEN,coordsstring);
	format(coordsstring, sizeof(coordsstring), "Password:[%d] Money:[%d] Admin:[%d]",PlayerInfo[playerid][pPassword],PlayerInfo[playerid][pMoney],PlayerInfo[playerid][pAdmin]);
	SendClientMessage(playerid, COLOR_WHITE,coordsstring);
	format(coordsstring, sizeof(coordsstring), "VIP:[%s] Score:[%d] XP:[%d] Kills:[%d]",PlayerInfo[playerid][pVIP],PlayerInfo[playerid][pScore],PlayerInfo[playerid][pXP],PlayerInfo[playerid][pKills]);
	SendClientMessage(playerid, COLOR_WHITE,coordsstring);
	format(coordsstring, sizeof(coordsstring), "Deaths:[%d]",PlayerInfo[playerid][pDeaths]);
	SendClientMessage(playerid, COLOR_WHITE,coordsstring);
	SendClientMessage(playerid, COLOR_GREEN, "____________________End of Stats______________________________");
	return 1;
Try this it's a normal text you can change it to a Dialog if you want +rep me if i helped.
Reply


Messages In This Thread
/stats - by Extraordinariness - 08.03.2014, 09:58
Re: /stats - by marwanalramahi - 08.03.2014, 10:18
Re: /stats - by Extraordinariness - 08.03.2014, 10:29
Respuesta: /stats - by ghost556 - 08.03.2014, 10:37
Re: /stats - by Extraordinariness - 08.03.2014, 10:52

Forum Jump:


Users browsing this thread: 1 Guest(s)