Spawning at BlueBerry
#1

I spawn at blueberry on /exit

pawn Код:
CMD:exit(playerid, params[])
{
    for(new i=0; i < MAX_DOORS; i++)
    {
        if(!IsPlayerInRangeOfPoint(playerid, 2.0, DoorInfo[i][dInteriorX], DoorInfo[i][dInteriorY], DoorInfo[i][dInteriorZ]) && DoorInfo[i][dInteriorInt] == GetPlayerInterior(playerid) && DoorInfo[i][dInteriorVir] == GetPlayerVirtualWorld(playerid)) continue;
        SetPlayerInterior(playerid, DoorInfo[i][dExteriorInt]);
        SetPlayerVirtualWorld(playerid, DoorInfo[i][dExteriorVir]);
        SetPlayerPos(playerid, DoorInfo[i][dExteriorX], DoorInfo[i][dExteriorY], DoorInfo[i][dExteriorZ]);
        SetPlayerFacingAngle(playerid, DoorInfo[i][dExteriorAngle]);
        SetCameraBehindPlayer(playerid);
        LoadObjectsForPlayer( playerid );
    }
    return 1;
}
Reply


Messages In This Thread
Spawning at BlueBerry - by JordanDoughty - 26.08.2014, 21:10
Re: Spawning at BlueBerry - by MikeEd - 26.08.2014, 21:13
Re: Spawning at BlueBerry - by TakeiT - 26.08.2014, 21:17
Re: Spawning at BlueBerry - by JordanDoughty - 26.08.2014, 21:19
Re: Spawning at BlueBerry - by TakeiT - 26.08.2014, 21:21
Re: Spawning at BlueBerry - by JordanDoughty - 26.08.2014, 21:28
Re: Spawning at BlueBerry - by MikeEd - 26.08.2014, 21:44
Re: Spawning at BlueBerry - by JordanDoughty - 26.08.2014, 21:50
Re: Spawning at BlueBerry - by MikeEd - 26.08.2014, 21:52
Re: Spawning at BlueBerry - by JordanDoughty - 26.08.2014, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)