Help please
#1

Hi whe someone kill me i dont have money but i want when kill somebody to have all money of the player.
Reply
#2

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  if(IsPlayerConnected(killerid)) {
      new
          val = GetPlayerMoney(playerid);
      GivePlayerMoney(killerid, val);
      ResetPlayerMoney(playerid);
  }
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)