ShowStats
#1

how to create when a player is watching his stats and when he close the dialog to show * %s his ..... is ..... to his pocket" in purple mode....
Код:
	if (strcmp(cmd, "/stats", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (gPlayerLogged[playerid] != 0)
			{
				ShowStats(playerid,playerid);
				GetPlayerNameEx(playerid, sendername, sizeof(sendername));
			    format(string, sizeof(string), "* %s gleda svoju iskaznicu.", sendername);
			    ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "Niste prijavljeni!");
			}
		}
		return 1;
	}
Reply
#2

DAM it now,really,this things CAN BE answered by wikipedia,really now to be honest with God withnessing me,and Jesus behind me...
Reply
#3

https://sampwiki.blast.hk/wiki/OnDialogResponse

Example:
Код:
if( dialogid == DIALOG_STATS )
{
    // message
}
Reply
#4

Are you kidding me ?
If you don't now how to help don't posT :@
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)