problem with a script
#1

Code:
public OnPlayerUpdate(playerid)
{

    GetPlayerMoney(playerid);
    if GetPlayerMoney(playerid) += 100;
    {
     GivePlayerMoney(playerid, -100);
     return 1;
    }
Code:
error 022: must be lvalue (non-constant)
what's wrong?
Reply


Messages In This Thread
problem with a script - by VanillaRain - 07.07.2015, 18:42
Re : problem with a script - by simo0000 - 07.07.2015, 18:44
Re: Re : problem with a script - by VanillaRain - 07.07.2015, 18:47
Re: problem with a script - by VanillaRain - 08.07.2015, 08:34
Re: problem with a script - by dusk - 08.07.2015, 08:42
Re: problem with a script - by VanillaRain - 08.07.2015, 09:21
Re: problem with a script - by dusk - 08.07.2015, 09:40
Re: problem with a script - by Lynn - 08.07.2015, 09:42
Re: problem with a script - by VanillaRain - 08.07.2015, 09:44
Re: problem with a script - by Lynn - 08.07.2015, 09:47

Forum Jump:


Users browsing this thread: 1 Guest(s)