Jump to content

LS,LV PD GATE


catamarg

Recommended Posts

                                      --== LSPD and LVPD Gates ==--

Commands

-/gatehelp

- /olspd1 , /clspd1 Opens/Closes a gate to the garage in LSPD

- /olspd2 , /clspd2 Opens/Closes the Entrance Gate in LS

- /olvpd1 , /clvpd1 Opens/Closes the entrance gate in LV

- /olvpd2 , /clvpd2 Opens/Closes the 2nd Garage entrance gate in LV

- /olvpd3 , /clvpd3 Opens/Closes the main Garage entrance gate in LV

                  Screenshots

2u92wz9.png

[img width=500 height=375] 352p0s5.jpg

[img width=500 height=375] 2yweh6o.jpg

:)) --_Enjoy_-- #include <a_samp> #define FILTERSCRIPT // Colors #define COLOR_BLUE 0x0042F6AA #define COLOR_DBLUE 0x00008DAA #define COLOR_DRED 0xA50000AA #define COLOR_WHITE 0xF6F6F6AA #define COLOR_YELLOW 0xF6F600AA #define COLOR_GREEN 0x00B900AA #pragma tabsize 0 new lspd1; new lspd2; new lvpd1; new lvpd2; new lvpd3; #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print("-Toniu_ LS&LV PD Gates-(R)-"); print("--------------------------------------\n"); //---== Los Santos Police Department ==--- lspd2 = CreateObject(971,1542.237,-1627.777,15.953,0.0,0.0,-90.000); // LSPD Outer Gate lspd1 = CreateObject(971,1588.038,-1637.873,15.280,0.0,0.0,0.0); // LSPD Garage Gate CreateObject(987,1607.366,-1625.857,12.535,0.0,0.0,-90.000); // LSPD Gates     CreateObject(987,1607.376,-1614.016,12.491,0.0,0.0,-90.000);     CreateObject(987,1607.387,-1602.724,12.493,0.0,0.0,-90.000);     CreateObject(987,1607.325,-1637.659,12.569,0.0,0.859,-180.000);     CreateObject(987,1595.472,-1602.927,12.516,0.0,0.0,0.0);     CreateObject(987,1583.490,-1602.937,12.501,0.0,0.0,0.0);     CreateObject(987,1571.587,-1602.912,12.508,0.0,0.0,0.0);     CreateObject(987,1559.662,-1602.937,12.514,0.0,0.0,0.0);     CreateObject(987,1547.741,-1602.974,12.483,0.0,0.0,0.0);     CreateObject(987,1539.938,-1602.905,12.408,0.0,0.0,0.0);     CreateObject(987,1540.150,-1614.923,12.408,0.0,0.0,90.000);     CreateObject(987,1540.151,-1617.418,12.383,0.0,0.0,90.000);     CreateObject(3749,1541.656,-1627.648,17.591,0.0,0.0,-90.000);     CreateObject(3279,1544.516,-1607.077,11.908,0.0,0.0,0.0);     CreateObject(1778,1538.166,-1618.983,22.172,0.0,0.0,90.000);     //---== Las Venturas Police Department (I made it in a 20-30min so its not so good lol) ==--- lvpd1 = CreateObject(969,2237.421,2449.144,9.838,0.0,0.0,90.000); // LVPD Outer Gate lvpd2 = CreateObject(971,2293.847,2498.374,5.768,0.0,0.0,-90.000); // LVPD Garage Gate #1 lvpd3 = CreateObject(971,2335.227,2443.460,8.261,0.0,0.0,59.688); // LVPD Garage Gate #2 CreateObject(1495,2293.849,2494.456,2.255,0.0,0.0,-90.859); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n-----------------------------------------------"); print(" --== LSPD & LVPD Gates ==-- By : Toniu_ (R)-"); print("-------------------------------------------------n"); } #endif public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/gatehelp", cmdtext, true) == 0) {         SendClientMessage(playerid, COLOR_GREEN, "|_______________San Andreas Police Department Gate Help________________|!"); SendClientMessage(playerid, COLOR_YELLOW, "---=== Los Santos ===---!"); SendClientMessage(playerid, COLOR_WHITE, "/olspd1 , /olspd2 , /clspd1 , /clspd2 !"); SendClientMessage(playerid, COLOR_YELLOW, "---=== Las Venturas ===---!"); SendClientMessage(playerid, COLOR_WHITE, "/olvpd1 , /olvpd2 , /olvpd3 , /clvpd1 , /clvpd2 , /clvpd3!"); SendClientMessage(playerid, COLOR_GREEN, "|_______________San Andreas Police Department Gate Help________________|!"); return 1; } if (strcmp("/olspd2", cmdtext, true) == 0) { MoveObject(lspd2, 1542.237,-1627.777,20.378, 5);  //-- LS -- SendClientMessage(playerid, COLOR_BLUE, "LSPD Gate Opened !"); return 1; } if (strcmp("/clspd2", cmdtext, true) == 0) { MoveObject(lspd2, 1542.237,-1627.777,15.953, 5); SendClientMessage(playerid, COLOR_DBLUE, "LSPD Gate Closed !"); return 1; } if (strcmp("/clspd1", cmdtext, true) == 0) { MoveObject(lspd1, 1588.038,-1637.873,15.280, 5); SendClientMessage(playerid, COLOR_DBLUE, "LSPD Gate Closed !"); return 1; } if (strcmp("/olspd1", cmdtext, true) == 0) { MoveObject(lspd1, 1596.794,-1637.898,15.280, 5); SendClientMessage(playerid, COLOR_BLUE, "LSPD Gate Opened !"); return 1;     } if (strcmp("/olvpd1", cmdtext, true) == 0) { MoveObject(lvpd1, 2237.414,2457.107,9.840, 5); //-- LV -- SendClientMessage(playerid, COLOR_BLUE, "LVPD Gate Opened !"); return 1;     } if (strcmp("/clvpd1", cmdtext, true) == 0) { MoveObject(lvpd1, 2237.421,2449.144,9.838, 5); SendClientMessage(playerid, COLOR_DBLUE, "LVPD Gate Closed !"); return 1;     } if (strcmp("/olvpd2", cmdtext, true) == 0) { MoveObject(lvpd2, 2293.847,2498.354,10.518, 5); SendClientMessage(playerid, COLOR_BLUE, "LVPD Gate Opened !"); return 1;     } if (strcmp("/clvpd2", cmdtext, true) == 0) { MoveObject(lvpd2, 2293.847,2498.374,5.768, 5); SendClientMessage(playerid, COLOR_DBLUE, "LVPD Gate Closed !"); return 1;     }   if (strcmp("/olvpd3", cmdtext, true) == 0) { MoveObject(lvpd3, 2335.170,2443.313,1.311, 5); SendClientMessage(playerid, COLOR_BLUE, "LVPD Gate Opened !"); return 1;     }   if (strcmp("/clvpd3", cmdtext, true) == 0) { MoveObject(lvpd3, 2335.227,2443.460,8.261, 5); SendClientMessage(playerid, COLOR_DBLUE, "LVPD Gate Closed !"); return 1;     } return 0; } public OnPlayerInfoChange(playerid) { return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; }
//----== Los Santos Police Department Gates, Created by : Toniu_ >aKa< Tom_Johnson ==--------------------
//----== Very simple but usefull stuff , Cmds : /olspd1 , /olspd2 , /clspd1 , /clspd2 , /olvpd1 , /olvpd2 ,==----
//----== Credits : All credits go to : Toniu_ ==----
//----== You can edit it in any way you like, but don't forget to leave me some credits 

NU este al meu va rog corectati si voi portile la LSPD ca nu stiu cum

GOO PE 89.42.200.9:7777

sau pe http://sa-mp-onlypro.forumulmeu.ro/forum.htm

Link to comment
Share on other sites

  • 1 year later...
  • 6 years later...
2 hours ago, billya02 said:

link pastebin ceva?

Pai dupa 8 ani cred ca a expirat si el linku nu stiu ce sa zic https://pastebin.com/KJT7QuTM

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • Mister locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.