11.03.2015, 22:34
Onplayerdeath:
pawn Код:
new pMoney = GetPlayerMoney( playerid ); // assigning the amount of cash the player that got killed has to a variable so we can use it later on :)
ResetPlayerMoney( playerid ); // not sure if this is what it's called, if it gives errors ****** it, using phone atm so yea..
GivePlayerMoney( killerid, pMoney ); // giving the killer the money of the one he killed.