27.09.2012, 09:45
Answer for question #2.
Check if the VirtualWorld ID is correct..
Or try this intead...
Then put this in a teleport command where you want the objects to be load.
For Example /sfa
Check if the VirtualWorld ID is correct..
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
pawn Код:
forward Unfreeze(playerid);
public Unfreeze(playerid)
{
TogglePlayerControllable(playerid,1);
return 1;
}
Код:
TogglePlayerControllable(playerid,0); SetTimerEx("Unfreeze",2000,0,"i",playerid);
pawn Код:
CMD:sfa(playerid, params[])
{
SetPlayerPos(playerid, -1526.9530,-84.3569,18.5564);
TogglePlayerControllable(playerid,0);
SetTimerEx("Unfreeze",2000,0,"i",playerid);
}