SA-MP Forums Archive
Howto make a /stats command. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Howto make a /stats command. (/showthread.php?tid=243242)



Howto make a /stats command. - IvancheBG - 22.03.2011

How to make a command when i type /stats an my kills and e.t.c shows in the middle of the screen?


Re: Howto make a /stats command. - Stigg - 22.03.2011

Before you can have a /stats cmd, you need to have a saving system. kill, death's, money, ect. Do you have this ?


Re: Howto make a /stats command. - IvancheBG - 22.03.2011

No,can you give me link to downloa beacause i cant find a good system.


Re: Howto make a /stats command. - mrcoolballs - 22.03.2011

Fairly simple to make yourself plus you will learn.

pawn Код:
new Kills[MAX_PLAYERS];
Under OnPlayerDeath:
pawn Код:
Kills[killerid]++;
that makes the kills of the killerid go up by 1.


Re: Howto make a /stats command. - IvancheBG - 22.03.2011

No, i want a saving sistem please not this


Re: Howto make a /stats command. - Mike Garber - 22.03.2011

Quote:
Originally Posted by IvancheBG
Посмотреть сообщение
No, i want a saving sistem please not this
Please don't tell me you are that stupid... Please tell me you're trolling...
What he did is EXACTLY what you want...


Re: Howto make a /stats command. - IvancheBG - 22.03.2011

Quote:
Originally Posted by mrcoolballs
Посмотреть сообщение
Fairly simple to make yourself plus you will learn.

pawn Код:
new Kills[MAX_PLAYERS];
Under OnPlayerDeath:
pawn Код:
Kills[killerid]++;
that makes the kills of the killerid go up by 1.
Ok where to put new kills[Max_Players]


Re: Howto make a /stats command. - Mike Garber - 22.03.2011

Ontop of your script.


Re: Howto make a /stats command. - IvancheBG - 22.03.2011

OK,thanks