Need help with teleport script! ~
#3

Glass,

pawn Код:
stock TeleportPlayer(playerid,Float:bX,Float:bY,Float:bZ,Float:bD,interior=0) { // Goldkiller
    new
      vid=GetPlayerVehicleID(playerid);
    if(!vid) {
      SetPlayerPos(playerid,bX,bY,bZ);
      SetPlayerFacingAngle(playerid,bD);
     }
     else {
        SetVehiclePos(vid,bX,bY,bZ+2);
        SetVehicleZAngle(vid,bD);
        LinkVehicleToInterior(vid,interior);
    }
    return SetPlayerInterior(playerid,interior);
}

TeleportPlayer(playerid,x,y,z,a,interrior); //Code
Reply


Messages In This Thread
Need help with teleport script! ~ - by Glass - 30.03.2009, 17:59
Re: Need help with teleport script! ~ - by Glass - 30.03.2009, 18:18
Re: Need help with teleport script! ~ - by illay - 30.03.2009, 18:20
Re: Need help with teleport script! ~ - by Glass - 30.03.2009, 18:22
Re: Need help with teleport script! ~ - by Luka P. - 30.03.2009, 18:26
Re: Need help with teleport script! ~ - by Glass - 30.03.2009, 18:27
Re: Need help with teleport script! ~ - by illay - 30.03.2009, 18:29
Re: Need help with teleport script! ~ - by illay - 30.03.2009, 18:31
Re: Need help with teleport script! ~ - by Luka P. - 30.03.2009, 18:31
Re: Need help with teleport script! ~ - by Glass - 30.03.2009, 18:41

Forum Jump:


Users browsing this thread: 1 Guest(s)