Is this possible? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Is this possible? (
/showthread.php?tid=326533)
Is this possible? -
Wickeed - 17.03.2012
I need some "rank" system in my server and some /stats[id] and then show kills,deaths,money,score and play time??
Ps:i use zcmd and sscanf..+If someone can help me i give rep...
Re: Is this possible? -
FalconX - 17.03.2012
Quote:
Originally Posted by Wickeed
I need some "rank" system in my server and some /stats[id] and then show kills,deaths,money,score and play time??
Ps:i use zcmd and sscanf..+If someone can help me i give rep...
|
Okay I guess it's possible to give a player a specific rank on based of kills.
Like this maybe?
pawn Код:
COMMAND:stats(playerid, params[])
{
if(Kills < 100)
{
SendClienMessage(playerid, -1, "Your rank is: Noob"); // if the kills are less then 100 it shows you are noob
}
if(Kills > 100)
{
SendClientMessage(playerid, -1, "Your rank is: Super Noob");// iff the kills are more then 100 it shows you are super noob
}
return 1;
}
this is just an example, you can use this in your stats command and the "Kills" can be edited by your own variable. I hope this helps
-FalconX