Need help with teleport script! ~
#5

Quote:
Originally Posted by Glass
I don't understand a shit of this crap
how you can`t understand?

copy
Код:
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);
}
to your script...
and then
Код:
if(strcmp(cmd,"/teleport",true)==0)
{
  TeleportPlayer(playerid,x,y,z,a,interrior);
  return 1;
}
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)