[HELP] Top killers! - 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: [HELP] Top killers! (
/showthread.php?tid=128762)
[HELP] Top killers! -
leapfish - 19.02.2010
Hello!
I need help with 2 things...
First one is about top killers, I want to add /topkiller or /top3 command into my gamemode, and when player uses it, t gives outcome to him like
=========[ Top Killers ]========
1. Player1 Kills: Number3
1. Player2 Kills: Number2
1. Player2 Kills: Number1
parameters I use as for player kills is
PlayerInfo[playerid][pKills]
So it checks through users files and gives the player income about top 3 persons with highest score!
Is it possible somehow??
And the other thing is about /send ID amount
Allows user to send cash to other user, which means giving cash to receiver and removing cash from sender.
Also, if the person doesnt have money he typed in amount to send it gives income like "You don't have enough money"
To receiver: You received $Money1 from Player1(id)
To sender: You have sent $Money1 to Player2(id)
If anybody can help me please...
Thanks
Re: Can anybody explain me how to make this, please. -
biltong - 19.02.2010
Quote:
Originally Posted by LyQue
And the other thing is about /send ID amount
Allows user to send cash to other user, which means giving cash to receiver and removing cash from sender.
Also, if the person doesnt have money he typed in amount to send it gives income like "You don't have enough money"
To receiver: You received $Money1 from Player1(id)
To sender: You have sent $Money1 to Player2(id)
|
Look through LVDM or Grand Larceny(I think), one of them will have that command.
Re: Can anybody explain me how to make this, please. -
leapfish - 19.02.2010
Oh never though that it's hidden there, thanks man... I added it (will test it later)
And can anybody help me about top killers now?