Status! Need Some Help + Rep
#1

Код:
 dcmd_stats(playerid,params[])
 {
 #pragma unused params
 new Stats[300];
 format(Stats,sizeof(Stats),"{FF0000}BankCash:{FFFFFF} $%d\n{FF0000}Cash:{FFFFFF} $%d\n{FF0000}Score:{FFFFFF} %d\n{FF0000}Rob skills level:{FFFFFF} %d\n{FF0000}Terrorist skills level:{FFFFFF} %d", BankCash[playerid], GetPlayerMoney(playerid),GetPlayerScore(playerid),RobSkill[playerid],TerroristSkill[playerid]);
 ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Status", Stats, "Close", "");
 return 1;
}
I Use This Code guyz to see stats on my CNR Server

But Can Anyone help me add more status? Like

Total Time Played <hours>
Can Use CIA <Yes Or No>
Cam Use Army <Yes Or No>
House Owned <how many?>
Regular Player <Yes Or No>

Can Anyone give me a command? with add of that? Pls I Will rep you
Reply
#2

Quote:
Originally Posted by pds2012
Посмотреть сообщение
Total Time Played <hours>
Can Use CIA <Yes Or No>
Cam Use Army <Yes Or No>
House Owned <how many?>
Regular Player <Yes Or No>
If you have some function in your script that can calculate all those things then YES you can.
Reply
#3

yes i have. teamviewer me pls if u can help me. pls
Reply
#4

Look, I cannot come on Teamviewer now. But I can help you here. For the total time played, make some functions or find a filterscript for that. About the CIA, check if the player has score or whatever and put that in your dialog (same with army). About houses owned, loop it. About regular player, check it with true or false.

Hope that helped you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)