SA-MP Forums Archive
How to get money per kill? - 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: How to get money per kill? (/showthread.php?tid=125161)



How to get money per kill? - hardstop - 02.02.2010

How to get money per kill?
I need it please


Re: How to get money per kill? - kLx - 02.02.2010

Find OnPlayerDeath
Ant write:
GivePlayerMoney(killerid, [ amount of money you want killer get ] );


Re: How to get money per kill? - hardstop - 02.02.2010

Like this ?
Код:
  GivePlayerMoney(killerid, [ 500 ] );

If i put like this i will get errors :S



Re: How to get money per kill? - Fj0rtizFredde - 02.02.2010

pawn Код:
GivePlayerMoney(killerid, 500);
That should do it


Re: How to get money per kill? - GTAguillaume - 02.02.2010

Код:
if(killerid != INVALID_PLAYER_ID) GivePlayerMoney(killerid, 500);



Re: How to get money per kill? - hardstop - 02.02.2010

Thanks Guys