can you help in changing world
#9

It's very easy. Look:

pawn Код:
native 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 Код:
#include    "a_samp"
#include    "streamer"

#define     GLOBAL_VIRTUAL_WORLD        (2) // Your virtual world.

public OnGameModeInit()
{
    CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, GLOBAL_VIRTUAL_WORLD, interiorid = -1, playerid = -1, Float:distance = 200.0);
    return true;
}

public OnGameModeExit()
{
    DestroyAllDynamicObjects();
    return true;
}

public OnPlayerConnect(playerid)
{
    SetPlayerVirtualWorld(playerid, GLOBAL_VIRTUAL_WORLD);
    return true;
}
Reply


Messages In This Thread
can you help in changing world - by MA_proking - 12.08.2011, 12:56
Re: can you help in changing world - by Lorenc_ - 12.08.2011, 13:04
Re: can you help in changing world - by MA_proking - 12.08.2011, 13:16
Re: can you help in changing world - by Kingunit - 12.08.2011, 13:29
Re: can you help in changing world - by MA_proking - 12.08.2011, 13:51
Re: can you help in changing world - by MA_proking - 12.08.2011, 13:53
Re: can you help in changing world - by Riddick94 - 12.08.2011, 14:09
Re: can you help in changing world - by MA_proking - 12.08.2011, 14:24
Re: can you help in changing world - by Riddick94 - 12.08.2011, 14:41
Re: can you help in changing world - by Lorenc_ - 12.08.2011, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)