[FilterScript] Simple Teleports
#4

Also, let me quickly introduce you to the 'World' of stocks.

pawn Код:
stock TelePlayer(playerid, Float:X, Float:Y, Float:Z, interior)
{
    SetPlayerInterior(playerid, interior);
    if(IsPlayerInAnyVehicle(playerid))
    {
        SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
    }
    else SetPlayerPos(playerid, X, Y, Z);
    return 1;
Usage:
pawn Код:
TelePlayer(playerid, 0.0, 0.0, 0.0, 5); // Location in middle of the world, and interior id 5..
Reply


Messages In This Thread
Simple Teleports - by TheDeadLY - 03.12.2010, 20:48
Re: Simple Teleports - by Camacorn - 03.12.2010, 20:50
Re: Simple Teleports - by TheDeadLY - 03.12.2010, 21:23
Re: Simple Teleports - by [L3th4l] - 03.12.2010, 21:41
Re: Simple Teleports - by wups - 04.12.2010, 07:07
Re: Simple Teleports - by [LvZ]Free - 25.04.2011, 19:34
Re: Simple Teleports - by Millionaire - 25.04.2011, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)