Reward deaths - 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: Reward deaths (
/showthread.php?tid=64338)
Reward deaths -
salada - 03.02.2009
Hi, I would ask you to command a reward for killings
type:
The player killed outor player and earned a reward of 1000
please *-*
Re: Reward deaths -
SpiderPork - 03.02.2009
pawn Код:
GivePlayerMoney(killerid, 1000);
Put this under OnPlayerDeath.
Re: Reward deaths -
salada - 03.02.2009
+?
Re: Reward deaths -
LibertyWorld - 03.02.2009
Like this if you dont understand:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoney(killerid, 1000);
return 1;
}