moveobject / mapping error
#1

Hi. I want to move the object only by rotation. How can i do that?

PHP код:
CMD:sdgate(playeridparams[])
{
    if(
pInfo[playerid][pFaction] != 1) return SendClientMessage(playeridCOLOR_WHITE"You are not from Sherrif Department");
    if(
IsPlayerInRangeOfPoint(playerid5.0125.4551,-130.3049,1.5781))
    {
        
SendClientMessage(playeridCOLOR_LIGHTBLUE"You have opened the gate. It will close after five seconds.!");
         
MoveObject(barierasd122.7600, -134.01191.31610.000090.00000.4000); //barrierturn
         
SetTimerEx("sdgate"5000false"i"playerid);
    }
    else
    {
        
SendClientMessage(playerid, -1"{FFCC33}You are not near the gate!");
    }
    return 
1;

Reply


Messages In This Thread
moveobject / mapping error - by Zeus666 - 01.08.2018, 11:30
Re: moveobject / mapping error - by Rufio - 01.08.2018, 12:32
Re: moveobject / mapping error - by NaS - 01.08.2018, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)