[TELEPORT]
#1

pawn Код:
// Teleport command
if(strcmp(cmdtext, "/teleport", true)==0)
{
 new vehicleid = GetPlayerVehicleID(playerid);
 new State = GetPlayerState(playerid);
 if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
 {
  return SetVehiclePos(vehicleid,00.00,00.00,00.00), //cords
  GameTextForPlayer(playerid, "~w~Welcome to place!", 5000, 5); // Will says if you have teleported
 }
 SetPlayerPos(playerid,00.00,00.00,00.00); //cords
 GameTextForPlayer(playerid, "~w~Welcome to place!", 5000, 5); // Will says if you have teleported
return 1;
}
For Beginner scripter.
Reply


Messages In This Thread
[TELEPORT] - by Typhome - 14.04.2009, 21:24
Re: [TELEPORT] - by RobertGraham - 18.06.2009, 22:06
Re: [TELEPORT] - by Kyle - 18.06.2009, 22:12
Re: [TELEPORT] - by mamorunl - 18.06.2009, 22:18
Re: [TELEPORT] - by RobertGraham - 18.06.2009, 22:22
Re: [TELEPORT] - by mamorunl - 18.06.2009, 22:24
Re: [TELEPORT] - by RobertGraham - 18.06.2009, 22:26
Re: [TELEPORT] - by Delphinus - 19.06.2009, 01:30
Re: [TELEPORT] - by RobertGraham - 19.06.2009, 02:06
Re: [TELEPORT] - by Grim_ - 19.06.2009, 02:30

Forum Jump:


Users browsing this thread: 1 Guest(s)