CreateDynamicObject Problem
#2

The quickest way to fix it is to make the GROUND object (the object on which the vehicle lands when teleported) CreateObject instead of CreateDynamicObject.

An alternative would be a temporary freeze timer. Put this right after SetVehiclePos.
pawn Код:
TogglePlayerControllable(playerid,0);
SetTimerEx("unfreeze",1000,false,"i",playerid);
The function:
pawn Код:
public unfreeze(playerid) return TogglePlayerControllable(playerid,1);
A third alternative would be the preload function from the streamer plugin. Look in the documentation of Incognito's Streamer Plugin.
Reply


Messages In This Thread
CreateDynamicObject Problem - by Joshy_Elite - 16.09.2012, 16:40
Re: CreateDynamicObject Problem - by scottyishere - 16.09.2012, 16:44

Forum Jump:


Users browsing this thread: 3 Guest(s)