Help with Moving an object
#8

pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, range, x, y, z))
        {
            if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, 0xFFFFFF, "You don't have enough money to open the gate");
            GivePlayerMoney(playerid, -1000);// will open for 1000$
            MoveObject(playerid, x, y, z, speed);
       }
            return 1;
        }
Sorry for crappy indentation, I didn't copy this to pawno.
Reply


Messages In This Thread
Help with Moving an object - by thimo - 19.12.2010, 18:53
Re: Help with Moving an object - by Mr.Jvxmc - 19.12.2010, 18:56
Re: Help with Moving an object - by Rafa - 19.12.2010, 18:57
Re: Help with Moving an object - by thimo - 19.12.2010, 18:57
Re: Help with Moving an object - by thimo - 19.12.2010, 18:59
Re: Help with Moving an object - by Rafa - 19.12.2010, 19:00
Re: Help with Moving an object - by thimo - 19.12.2010, 19:29
Re: Help with Moving an object - by WillyP - 19.12.2010, 19:40
Re: Help with Moving an object - by thimo - 19.12.2010, 19:46
Re: Help with Moving an object - by WillyP - 19.12.2010, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)