Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //-------------------------------------------------
- //
- // Teleports Menu By GeekSiMo
- //
- //-------------------------------------------------
- #include <a_samp>
- #include <zcmd>
- #define DIALOG_TELES 1
- #define DIALOG_TELES2 2
- #define COLOR_YELLOW 0xFFD40EFF
- new Text:TeleportMessages;
- ////////////////////////////////////////////////////////////////////////////////
- main()
- {
- print("\n=============================================");
- print("====Teleports Menu By GeekSiMo Loaded !!!====");
- print("=============================================\n");
- }
- ////////////////////////////////////////////////////////////////////////////////
- public OnFilterScriptInit()
- {
- ///////////////////////////////
- // Teleport Messages Textdraw//
- //////////////////////////////
- TeleportMessages = TextDrawCreate(3.000000, 436.000000, "");
- TextDrawBackgroundColor(TeleportMessages, 255);
- TextDrawFont(TeleportMessages, 1);
- TextDrawLetterSize(TeleportMessages, 0.400000, 1.100000);
- TextDrawColor(TeleportMessages, -1);
- TextDrawSetOutline(TeleportMessages, 1);
- TextDrawSetProportional(TeleportMessages, 1);
- return 1;
- }
- public OnFilterScriptExit()
- {
- TextDrawHideForAll(TeleportMessages);
- TextDrawDestroy(TeleportMessages);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TextDrawShowForPlayer(playerid, TeleportMessages);
- SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Use /teles to check Teleports!");
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- TextDrawHideForPlayer(playerid, TeleportMessages);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("mycommand", cmdtext, true, 10) == 0)
- {
- /////
- return 1;
- }
- return 0;
- }
- /////////// Teleports Commands ///////////
- CMD:teles(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "BOT_GeekSiMo: you need to be the driver of the vehicle or be onfoot to use this command");
- ShowPlayerDialog(playerid, DIALOG_TELES, DIALOG_STYLE_LIST, "| Teleports |", "{1ce9f0}Los Santos Airport | /lsa\n{f01c30}San Fierro Airport | /sfa\n{F6FF08}Las Venturas Airport | /lva\n{f08a1c}Abandoned Airport | /aa\n{4f61e3}SkyDive Los Santos | /lssky\n{98e461}SkyDive San Fierro | /sfsky\n{a34fe3}Mount Chiliad | /mc\n{46f125}Groove Street | /gs\n{eaf044}Doherty Garage | /dg\n{f04c44}The Foor Dragons Casino | /fd\n{ff0000}NEXT>>>", "Spawn", "Cancel");
- return 1;
- }
- CMD:lsa(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 1686.1224,-2240.7258,13.5469);
- SetPlayerFacingAngle(playerid, 177.2548);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Los Santos Airport", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 1682.8649,-2250.4910,13.1750);
- SetVehicleZAngle(veh, 270.7848);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Los Santos Airport", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/lsa",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Los Santos Airport");
- }
- CMD:sfa(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, -1423.8333,-289.4786,14.1484);
- SetPlayerFacingAngle(playerid, 137.6431);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To San Fierro Airport", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, -1427.8187,-293.5207,13.7793);
- SetVehicleZAngle(veh, 50.6680);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To San Fierro Airport", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/sfa",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to San Fierro Airport");
- }
- CMD:lva(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 1685.1870,1448.4731,10.7701);
- SetPlayerFacingAngle(playerid, 274.2267);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Las Venturas Airport", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 1710.5868,1450.0239,10.4895);
- SetVehicleZAngle(veh, 166.0855);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Las Venturas Airport", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/lva",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Las Venturas Airport");
- }
- CMD:aa(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 425.4616,2532.0300,16.6003);
- SetPlayerFacingAngle(playerid, 174.8854);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To The Abandoned Airport", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 425.4616,2532.0300,16.6003);
- SetVehicleZAngle(veh, 174.8854);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To The Abandoned Airport", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/aa",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to The Abandoned Airport");
- }
- CMD:lssky(playerid, params[])
- {
- if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be onfoot to use this command");
- SetPlayerPos(playerid, 1545.0183,-1345.7279,329.4671);
- SetPlayerFacingAngle(playerid, 3.5483);
- SetPlayerInterior(playerid, 0);
- GivePlayerWeapon(playerid, 46, 1);
- GameTextForPlayer(playerid, "~y~Welcome To SkyDive Los Santos", 4000,3);
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/lssky",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to SkyDive Los Santos");
- }
- CMD:sfsky(playerid, params[])
- {
- if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be onfoot to use this command");
- SetPlayerPos(playerid, -1753.8840,885.3961,295.8750);
- SetPlayerFacingAngle(playerid, 14.3153);
- SetPlayerInterior(playerid, 0);
- GivePlayerWeapon(playerid, 46, 1);
- GameTextForPlayer(playerid, "~y~Welcome To SkyDive San Fierro", 4000,3);
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/sfsky",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to SkyDive San Fierro");
- }
- CMD:mc(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, -2317.4946,-1610.2184,483.8145);
- SetPlayerFacingAngle(playerid, 321.6286);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Mount Chiliad", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, -2296.2986,-1621.1373,483.8142);
- SetVehicleZAngle(veh, 220.5547);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Mount Chiliad", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/mc",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Mount Chilliad");
- }
- CMD:gs(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 2490.6187,-1665.4498,13.3438);
- SetPlayerFacingAngle(playerid, 89.1618);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Groove Street", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 2490.6187,-1665.4498,13.3438);
- SetVehicleZAngle(veh, 89.1618);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Groove Street", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/gs",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Groove Street");
- }
- CMD:dg(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, -2026.8556,156.8234,29.0391);
- SetPlayerFacingAngle(playerid, 267.2130);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Doherty Garage", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, -2009.6727,156.0618,27.3191);
- SetVehicleZAngle(veh, 359.0245);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Doherty Garage", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/dg",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Doherty Garage");
- }
- CMD:fd(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 2025.9042,1007.5022,10.8203);
- SetPlayerFacingAngle(playerid, 273.0692);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To The Foor Dragons Casino", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 2039.3466,1007.5059,10.4718);
- SetVehicleZAngle(veh, 180.5719);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To The Foor Dragons Casino", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/fd",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to The Foor Dragons Casino");
- }
- CMD:glen(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 2021.9263,-1254.1522,23.9844);
- SetPlayerFacingAngle(playerid, 89.7922);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Glen Park", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 2021.9263,-1254.1522,23.9844);
- SetVehicleZAngle(veh, 89.7922);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Glen Park", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/glen",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Glen Park");
- }
- CMD:beach(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 291.1230,-1779.9309,4.3659);
- SetPlayerFacingAngle(playerid, 175.3379);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Santa Maria Beach", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 291.1230,-1779.9309,4.3659);
- SetVehicleZAngle(veh, 175.3379);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Santa Maria Beach", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/beach",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Santa Maria Beach");
- }
- CMD:dock(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 2724.2781,-2397.6846,13.6328);
- SetPlayerFacingAngle(playerid, 190.1431);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Ocean Docks", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 2724.2781,-2397.6846,13.6328);
- SetVehicleZAngle(veh, 190.1431);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Ocean Docks", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/dock",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Ocean Docks");
- }
- CMD:area51(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 135.4572,1946.6665,19.3599);
- SetPlayerFacingAngle(playerid, 1.6055);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Area51", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 135.4572,1946.6665,19.3599);
- SetVehicleZAngle(veh, 1.6055);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Area51", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/area51",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Area51");
- }
- CMD:lstune(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 1040.8041,-1032.2076,32.0148);
- SetPlayerFacingAngle(playerid, 321.6286);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Los Santos Tuning Garage", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 1040.8041,-1032.2076,32.0148);
- SetVehicleZAngle(veh, 220.5547);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Los Santos Tuning Garage", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/lstune",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Los Santos Tuning Garage");
- }
- CMD:sftune(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, -1935.9169,234.4120,34.3125);
- SetPlayerFacingAngle(playerid, 321.6286);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To San Fierro Tuning Garage", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, -1935.9169,234.4120,34.3125);
- SetVehicleZAngle(veh, 220.5547);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To San Fierro Tuning Garage", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/sftune",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to San Fierro Tuning Garage");
- }
- CMD:lvtune(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 2385.0134,1030.7831,10.8203);
- SetPlayerFacingAngle(playerid, 321.6286);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Las Venturas Tuning Garage", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 2385.0134,1030.7831,10.8203);
- SetVehicleZAngle(veh, 220.5547);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Las Venturas Tuning Garage", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/lvtune",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Las Venturas Tuning Garage");
- }
- CMD:loco(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, 2645.4419,-2025.3015,13.5469);
- SetPlayerFacingAngle(playerid, 7.1917);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Loco Low Co", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, 2645.4419,-2025.3015,13.5469);
- SetVehicleZAngle(veh, 7.1917);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Loco Low Co", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/loco",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Loco Low Co");
- }
- CMD:arch(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, 0xCB2424FF, "GeekSiMo: You need to be the driver of the vehicle or be onfoot to use this command");
- if(!IsPlayerInAnyVehicle(playerid)){
- SetPlayerPos(playerid, -2709.7949,216.6772,4.1797);
- SetPlayerFacingAngle(playerid, 72.7213);
- SetPlayerInterior(playerid, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Wheel Arch Angels Tuning Garage", 4000,3);
- }
- else{
- new veh = GetPlayerVehicleID(playerid);
- SetVehiclePos(veh, -2709.7949,216.6772,4.1797);
- SetVehicleZAngle(veh, 72.7213);
- LinkVehicleToInterior(veh, 0);
- PutPlayerInVehicle(playerid, veh, 0);
- GameTextForPlayer(playerid, "~y~Welcome To Wheel Arch Angels Tuning Garage", 4000,3);
- }
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/arch",pName);
- TextDrawSetString(TeleportMessages, string);
- return SendClientMessage(playerid, COLOR_YELLOW, "GeekSiMo: Welcome to Wheel Arch Angels Tuning Garage");
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_TELES)
- {
- if(response)
- {
- switch(listitem)
- {
- case 0:
- {
- return cmd_lsa(playerid, "");
- }
- case 1:
- {
- return cmd_sfa(playerid, "");
- }
- case 2:
- {
- return cmd_lva(playerid, "");
- }
- case 3:
- {
- return cmd_aa(playerid, "");
- }
- case 4:
- {
- return cmd_lssky(playerid, "");
- }
- case 5:
- {
- return cmd_sfsky(playerid, "");
- }
- case 6:
- {
- return cmd_mc(playerid, "");
- }
- case 7:
- {
- return cmd_gs(playerid, "");
- }
- case 8:
- {
- return cmd_dg(playerid, "");
- }
- case 9:
- {
- return cmd_fd(playerid, "");
- }
- case 10:
- {
- return ShowPlayerDialog(playerid, DIALOG_TELES2, DIALOG_STYLE_LIST, "| Teleports |", "{4fa700}Glen Park | /glen\n{83f4d5}Santa Maria Beach | /beach\n{8a9a96}Ocean Docks | /dock\n{b44102}Area51 | /area51\n{9627d6}Los Santos Tuning Garage | /lstune\n{d6278e}San Fierro Tuning Garage | /sftune\n{d3e477}Las Venturas Tuning Garage | /lvtune\n{56f75e}Loco Low Co | /loco\n{56d3f7}Wheel Arch Angels Tuning Garage | /arch\n{ff0000}<<<Previous", "Spawn", "Cancel");
- }
- }
- }
- return 1;
- }
- if(dialogid == DIALOG_TELES2)
- {
- if(response)
- {
- switch(listitem)
- {
- case 0:
- {
- return cmd_glen(playerid, "");
- }
- case 1:
- {
- return cmd_beach(playerid, "");
- }
- case 2:
- {
- return cmd_dock(playerid, "");
- }
- case 3:
- {
- return cmd_area51(playerid, "");
- }
- case 4:
- {
- return cmd_lstune(playerid, "");
- }
- case 5:
- {
- return cmd_sftune(playerid, "");
- }
- case 6:
- {
- return cmd_lvtune(playerid, "");
- }
- case 7:
- {
- return cmd_loco(playerid, "");
- }
- case 8:
- {
- return cmd_arch(playerid, "");
- }
- case 9:
- {
- return ShowPlayerDialog(playerid, DIALOG_TELES, DIALOG_STYLE_LIST, "| Teleports |", "{1ce9f0}Los Santos Airport | /lsa\n{f01c30}San Fierro Airport | /sfa\n{F6FF08}Las Venturas Airport | /lva\n{f08a1c}Abandoned Airport | /aa\n{4f61e3}SkyDive Los Santos | /lssky\n{98e461}SkyDive San Fierro | /sfsky\n{a34fe3}Mount Chiliad | /mc\n{46f125}Groove Street | /gs\n{eaf044}Doherty Garage | /dg\n{f04c44}The Foor Dragons Casino | /fd\n{ff0000}NEXT>>>", "Spawn", "Cancel");
- }
- }
- }
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement