19.03.2013, 22:25
I want that if one guy killed the other guy, he should get money. And the amount of money should be minus of the guy who died.
how to do??
how to do??
public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoney(playerid, -1000); //gives the player that died -1000dollars
GivePlayerMoney(killerid, 1000); //gives the killer 1000 dollars
return 1;
}