SA-MP Forums Archive
Help Me With Teles System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Me With Teles System (/showthread.php?tid=534757)



Help Me With Teles System - mmoustafa9 - 31.08.2014

2 Questions
The First :-
i ve maden tele system to go to tune etc i want to teleport with the veh if i ve what code i will type?
------
The Second :-
i ve downloaded player teleport to another player system and i modified it theres a cmd to open or disable this option when i moded it the player start the game the option opens auto he must stop it manually what i should do to make it stops auto

----------------
Thanks For Help + Sorry For Bad English


Re: Help Me With Teles System - ]Rafaellos[ - 31.08.2014

1. SetVehiclePos

2. You mean you want it to start disabled? Then find the variable in the script and set it to false.


Re: Help Me With Teles System - ReD_HunTeR - 31.08.2014

pawn Код:
CMD:lstg(playerid, params[])
{
   SetPlayerPos(playerid,2644.9768, -2030.9032, 13.5540);
   GameTextForPlayer(playerid,"~G~ Welcome ~P~ to ~Y~ Los Santos Tune Garage",3000,3);
   if(IsPlayerInAnyVehicle(playerid))
   {
      SetVehiclePos(GetPlayerVehicleID(playerid), 2644.9768, -2030.9032, 13.5540);
      PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0);
   }
   return 1;
}

CMD:lvtg(playerid, params[])
{
   SetPlayerPos(playerid,2387.21484375,1031.8188476563,10.8203125);
   GameTextForPlayer(playerid,"~G~ Welcome ~P~ to ~Y~ Las Venturas Tune Garage",3000,3);
   if(IsPlayerInAnyVehicle(playerid))
   {
      SetVehiclePos(GetPlayerVehicleID(playerid), 2387.21484375,1031.8188476563,10.8203125);
      PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0);
   }
   return 1;
}

CMD:sftg(playerid, params[])
{
   SetPlayerPos(playerid,-2705.404296875,217.66888427734,4.1796875);
   GameTextForPlayer(playerid,"~G~ Welcome ~P~ to ~Y~ SF Tune Garage 1",3000,3);
   if(IsPlayerInAnyVehicle(playerid))
   {
      SetVehiclePos(GetPlayerVehicleID(playerid),-2705.404296875,217.66888427734,4.1796875);
      PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0);
   }
   return 1;
}

CMD:sftg2(playerid, params[])
{
   SetPlayerPos(playerid,-1935.2192382813,228.67216491699,34.15625);
   GameTextForPlayer(playerid,"~G~ Welcome ~P~ to ~Y~ SF Tune Garage 2",3000,3);
   if(IsPlayerInAnyVehicle(playerid))
   {
      SetVehiclePos(GetPlayerVehicleID(playerid),-1935.2192382813,228.67216491699,34.15625);
      PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0);
   }
   return 1;
}
explain 2nd again


Re: Help Me With Teles System - mmoustafa9 - 03.09.2014

Many Thanks BlackBomB For Help With UR FS I Will Update My Tele System IN The Forum
Thanks Rafaellos For Rep