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?
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
1.
2. You mean you want it to start disabled? Then find the variable in the script and set it to false.
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;
}
Many Thanks BlackBomB For Help With UR FS I Will Update My Tele System IN The Forum