SetPlayerCash
#4

It's actually pretty easy to make a function for it.
pawn Код:
stock SetPlayerCash(playerid, cash)
{
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid, cash);
    return 1;
}

Quote:
Originally Posted by [vTc]Patroool
Посмотреть сообщение
This will set player money to xxxx you entered.
Код:
SetPlayerCash
This will add the entered amount to player's current money. If you want to decrease his money then use (-)minise xxxx (-1000)
Код:
GivePlayerMoney
Sorry mate, but SetPlayerCash isn't a native function...
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)