Money bar
#9

Quote:
Originally Posted by Youice
Посмотреть сообщение
assume I know what you have done in the script, then replace the variable & the function that gives the player money.

example:

PHP код:
CMD:money(playeridparams[])
{
    
PlayerInfo[playerid][Money] += 100;

replace to

PHP код:
CMD:money(playeridparams[])
{
   
GivePlayerCash(playerid100); //same as GivePlayerMoney but the differ is it connects the variable with it.

Thank you it works! but I have one question, how do I do stuff like this?
PHP код:
Player[Player[playerid][BeingTicketed]][Money] += Player[Player[playerid][BeingTicketed]][TicketPrice]; 
Reply


Messages In This Thread
Money bar - by Zachlive - 12.10.2012, 17:25
Re: Money bar - by Camacorn - 12.10.2012, 18:15
Re: Money bar - by zT KiNgKoNg - 12.10.2012, 18:15
Re: Money bar - by Camacorn - 12.10.2012, 18:17
Re: Money bar - by Zachlive - 12.10.2012, 18:24
Re: Money bar - by Youice - 12.10.2012, 18:57
Re: Money bar - by Zachlive - 12.10.2012, 19:15
Re: Money bar - by Youice - 12.10.2012, 19:30
Re: Money bar - by Zachlive - 12.10.2012, 19:46
Re: Money bar - by Youice - 12.10.2012, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)