SA-MP Forums Archive
Rhino vs. Rhino - 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)
+--- Thread: Rhino vs. Rhino (/showthread.php?tid=516974)



Rhino vs. Rhino - SpRaVCe - 02.06.2014

Rhino rhino exploded, but did not score and money, what should I do?

Code :
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
GivePlayerMoney(killerid,1000);
return 1;
}



Re: Rhino vs. Rhino - Faisal_khan - 02.06.2014

Yeah same goes for anyother vehicle if a Hydra its a Hydra or a Hydra hits a Hunter or anyother vehicle, killerid will still be invalid.