ask for something - 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: ask for something (
/showthread.php?tid=209943)
ask for something -
AzTeCaS - 11.01.2011
i can use this fonction like when player kill the other player GivePlayerMoney(playerid,4
;?
like Name1 kill name2
GivePlayerMoney(name1,4
;
this is possible and please give me the Code
Re: ask for something -
blackwave - 11.01.2011
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) // On this callback
{
GivePlayerMoney(killerid, 4);
return 1;
}