MONEYZZ
#1

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??
Reply
#2

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  GivePlayerMoney(playerid, -1000); //gives the player that died -1000dollars
  GivePlayerMoney(killerid, 1000); //gives the killer 1000 dollars
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)