13.07.2012, 09:07
i saw your post last 2 years ago.
Now i know. So I need to move and replace all CreateDynamicObject also with the vehicle to
Код:
Objects are created in all worlds and interiors. There is no virtualworld parameter for that (only for pickups, afaik). You can try to using CreatePlayerObject to create the map when the player is in a certain virtual world and destroy them again once he leaves that specific virtual world.
Код:
new pObject[MAX_PLAYERS]; public OnPlayerConnect(playerid) { pObject[playerid] = CreatePlayerObject(playerid, 2587, 2001.195679, 1547.113892, 14.283400, 0, 0, 96); // Or alternatively, using the DrawDistance parameter to show it from as far away as possible: pObject[playerid] = CreatePlayerObject(playerid, 2587, 2001.195679, 1547.113892, 14.283400, 0, 0, 96, 300.0); return 1; } public OnPlayerDisconnect(playerid, reason) { DestroyPlayerObject(playerid, pObject[playerid]); return 1; }