Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

MoveObject Problem

$
0
0
FIXED// code is staying if anyone else needs

Heres the code:

Code:

new dutyroom;

GAMEMODEINIT:
dutyroom = CreateObject(19860, 1909.9110, -4304.7710, 2099.7222,  0.00000, 0.00000, 90.00000);

COMMANDS:
CMD:pdopen(playerid, params[])
{
        if(IsPlayerInRangeOfPoint(playerid,5,1909.9110,-4304.7710,2099.7222))
        {
                MoveObject(dutyroom,1909.9110,-4306.0100,2099.7222,2);
        }
        return 1;
}
CMD:pdclose(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid,5,1909.9110,-4304.7710,2099.7222))
        {
                MoveObject(dutyroom,1909.9110,-4304.7710,2099.7222,2);
        }
        return 1;
}


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>