VirtualWorld+Streamer
#3

Quote:
Originally Posted by KingyKings
Посмотреть сообщение
You won't be able to see objects in a virtual world unless you spawn the objects in that world,
That is if it's your map.
******: How to spawn objects in a virtual world

That should tell you how.


Hope this helped
I still don't get It after I get killed and teleport to that map I can now run around on that map and see objects.

Edit: If I use my Dialog Teleport I can see object's without killing my self before I teleport to that map. What's the difference??

pawn Код:
case 1:
                {
                    if(gCommandsDisabled[playerid]==true)
                    {
                    ShowPlayerDialog(playerid, DIALOG_EVADE, DIALOG_STYLE_MSGBOX, "Leave Menu", "You must Leave first before using this command", "Leave", "Cancel");
                    return 1;
                    }
                    new string[128], pName[MAX_PLAYER_NAME];
                    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
                    format(string, sizeof(string), "{6666FF}(/cs) {00CCFF}%s {6666FF}has Teleported to Counter Strike",pName);
                    GameTextForPlayer(playerid,"~y~Welcome to ~n~~b~Counter-Strike",2000,3);
                    SetPlayerVirtualWorld(playerid, 2);
                    DestroyVehicle(GetPlayerVehicleID(playerid));
                    SendClientMessageToAll(playerid, string);
                    new Random = random(sizeof(RandomSpawnCsDM));
                    SetPlayerPos(playerid, RandomSpawnCsDM[Random][0], RandomSpawnCsDM[Random][1], RandomSpawnCsDM[Random][2]);
                    SetPlayerFacingAngle(playerid, RandomSpawnCsDM[Random][3]);
                    CreateDynamicObject(10946, -2261.0671386719, 1785.4710693359, 3.3126780986786, 0, 0, 0,2,-1,-1,300.0);
                    CreateDynamicObject(10946, -2260.9309082031, 1832.5231933594, 3.2876780033112, 0, 0, 180,2,-1,-1,300.0);
                    CreateDynamicObject(5463, -2259.2067871094, 1808.7338867188, 27.753015518188, 0, 0, 0,2,-1,-1,300.0);
                    CreateDynamicObject(3887, -2228.0598144531, 1847.9217529297, 9.663948059082, 0, 0, 270,2,-1,-1,300.0);
Reply


Messages In This Thread
VirtualWorld+Streamer - by kbalor - 28.07.2012, 18:55
Re: VirtualWorld+Streamer - by KingyKings - 28.07.2012, 19:05
Re: VirtualWorld+Streamer - by kbalor - 28.07.2012, 19:12
Re: VirtualWorld+Streamer - by KingyKings - 28.07.2012, 19:15
Re: VirtualWorld+Streamer - by kbalor - 28.07.2012, 19:22
Re: VirtualWorld+Streamer - by KingyKings - 28.07.2012, 19:25
Re: VirtualWorld+Streamer - by kbalor - 28.07.2012, 19:27

Forum Jump:


Users browsing this thread: 3 Guest(s)