Side money problem
#3

Quote:
Originally Posted by nor15
Посмотреть сообщение
I use coins coz not to be easy to use Money Hack , so for example
PHP код:
dcmd_cash(playerid,params[])
{
    
#pragma unused params
    
Coins[playerid] +=200000;
    return 
1;

The coins don't increase dunno why
That is because you are not increasing the money client side.

pawn Код:
dcmd_cash(playerid,params[])
{
    #pragma unused params
    Coins[playerid] +=200000;
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid, Coins[playerid]);
    return 1;
}
Reply


Messages In This Thread
Side money problem - by nor15 - 22.04.2013, 19:50
Re: Side money problem - by MattyG - 22.04.2013, 19:54
Re: Side money problem - by BittleRyan - 22.04.2013, 19:54
Re: Side money problem - by bensmart469 - 22.04.2013, 19:55
Re: Side money problem - by nor15 - 22.04.2013, 20:06
Re: Side money problem - by MattyG - 22.04.2013, 20:09
Re: Side money problem - by BittleRyan - 22.04.2013, 20:09
Re: Side money problem - by Glad2BeHere - 22.04.2013, 20:09
Re: Side money problem - by nor15 - 22.04.2013, 20:12

Forum Jump:


Users browsing this thread: 2 Guest(s)