SetPlayerCash
#9

Here are some examples :

pawn Код:
public OnPlayerSpawn(playerid)
{
   SetPlayerMoney(playerid, POCKET_MONEY); // 10000
}
OR :

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
   if(killerid != INVALID_PLAYER_ID && IsPlayerConnected(killerid)) {
      GivePlayerHealth(killerid, 50);
      SendClientMessage(killerid, COLOR_SUCCESS, "Great! you killed a person and earn 50 HP!");
   }
}
Reply


Messages In This Thread
SetPlayerCash - by Mriss - 13.03.2014, 07:14
Re: SetPlayerCash - by Jack_Leslie - 13.03.2014, 07:19
Re: SetPlayerCash - by Bingo - 13.03.2014, 07:20
Re: SetPlayerCash - by Ceathor - 13.03.2014, 07:21
Re: SetPlayerCash - by RoboN1X - 13.03.2014, 07:23
Re: SetPlayerCash - by Ceathor - 13.03.2014, 07:26
Re: SetPlayerCash - by Mriss - 13.03.2014, 07:35
Re: SetPlayerCash - by iFarbod - 13.03.2014, 09:19
Re: SetPlayerCash - by iFarbod - 13.03.2014, 09:29

Forum Jump:


Users browsing this thread: 1 Guest(s)