Teleport With Objects
#10

You can also use GetDynamicObjectPos

e.g:
pawn Код:
new objectid;


objectid = CreateDynamicObject(....);

CMD:enter(playerid, params[])
{
    new Float:x, Float:y, Float:z;
    GetDynamicObjectPos(objectid, x, y, z);
    if(IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z))
    {
        SetPlayerPos(...);
    }
    return 1;
}
Reply


Messages In This Thread
Teleport With Objects - by Mohaowmad - 01.03.2019, 07:00
Re: Teleport With Objects - by Kaliber - 01.03.2019, 07:19
Re: Teleport With Objects - by Mohaowmad - 01.03.2019, 07:27
Re: Teleport With Objects - by Mohaowmad - 01.03.2019, 08:05
Re: Teleport With Objects - by JasonRiggs - 01.03.2019, 08:14
Re: Teleport With Objects - by Mohaowmad - 01.03.2019, 08:44
Re: Teleport With Objects - by Kaliber - 01.03.2019, 08:47
Re: Teleport With Objects - by Mohaowmad - 01.03.2019, 08:56
Re: Teleport With Objects - by TheToretto - 01.03.2019, 12:15
Re: Teleport With Objects - by d3Pedro - 01.03.2019, 12:23
Re: Teleport With Objects - by JasonRiggs - 01.03.2019, 12:26

Forum Jump:


Users browsing this thread: 3 Guest(s)