Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Gang Colours
- #define COLOR_GREEN 0x33AA33AA //grove
- #define COLOR_PURPLE 0x800080AA //ballas
- #define COLOR_LIGHTBLUE 0x33CCFFAA //aztec
- #define COLOR_DARKRED 0x660000AA // nang
- #define COLOR_YELLOW 0xFFFF00AA //vago
- #define COLOR_BLUE 0x0000BBAA // cops
- #define COLOR_BLACK 0x2C2727AA //mafia
- #define COLOR_ORANGE 0xFF9900AA //bikers
- #define COLOR_WHITE 0xFFFFFFAA //triad
- #define COLOR_DARKBROWN 0x80400096 //Army
- #define COLOR_GOLD 0xB8860BAA // Admin
- // Command Colours
- #define COLOR_RED 0xFF0000AA//0xAA3333AA
- #define COLOR_RED2 0xAA3333AA
- #define COLOR_AQUA 0xF0F8FFAA
- #define COLOR_SPRINGGREEN 0x00FF7FAA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_BRIGHTRED 0xFF0000AA
- #include <a_samp>
- new pickup_fdenter;
- new pickup_fdg1;
- new pickup_fdg2;
- new pickup_fdg12;
- // Powerd by deLUX Map Converter
- main()
- {
- print("\n----------------------------------");
- print(" My");
- print(" New");
- print(" FD");
- print("----------------------------------\n");
- }
- public OnGameModeInit()
- {
- SetGameModeText("Fire Depardment");
- // My favourite character ;)
- AddPlayerClass(0,1742.1881,-1695.6346,13.5407,266.1996,0,0,0,0,0,0);
- // -------------------------------------------------------------
- // Your Objects here
- CreateObject(974, 1802.904053, -1689.355469, 15.305336, 0.0000, 0.0000, 317.8876);
- CreateObject(974, 1807.931152, -1693.369141, 15.320096, 0.0000, 0.0000, 325.6225);
- CreateObject(1411, 1811.544434, -1719.336914, 17.944630, 0.0000, 0.8594, 269.7591);
- CreateObject(1411, 1811.630371, -1714.255737, 17.944630, 0.0000, 0.8594, 270.6186);
- CreateObject(1411, 1811.593994, -1708.983521, 17.944630, 0.0000, 0.8594, 270.6186);
- CreateObject(1411, 1811.560059, -1703.755859, 17.944630, 0.0000, 0.8594, 270.6186);
- CreateObject(1411, 1811.561646, -1698.537354, 17.944630, 0.0000, 0.8594, 270.6186);
- CreateObject(1411, 1811.467163, -1693.305176, 17.944630, 0.0000, 0.8594, 270.6186);
- CreateObject(1411, 1811.421631, -1689.406738, 17.944630, 0.0000, 0.8594, 270.6186);
- CreateObject(1411, 1808.671387, -1686.406128, 17.941711, 0.0000, 0.8594, 358.2811);
- CreateObject(1411, 1803.448853, -1686.294434, 17.941711, 0.0000, 0.8594, 358.2811);
- CreateObject(1411, 1798.221924, -1686.166626, 17.941711, 0.0000, 0.8594, 1.7189);
- CreateObject(1411, 1793.029541, -1686.287964, 17.941711, 0.0000, 0.8594, 0.0000);
- CreateObject(1411, 1787.820068, -1686.292114, 17.941711, 0.0000, 0.8594, 0.0000);
- CreateObject(1411, 1782.579590, -1686.306763, 17.941711, 0.0000, 0.8594, 0.0000);
- CreateObject(1411, 1777.339600, -1686.376099, 17.941711, 0.0000, 0.8594, 0.0000);
- CreateObject(1411, 1772.137085, -1686.420776, 17.941711, 0.0000, 0.8594, 0.0000);
- CreateObject(1411, 1766.931274, -1686.449829, 17.941711, 0.0000, 0.8594, 0.0000);
- CreateObject(1411, 1763.654541, -1686.527344, 17.941711, 0.0000, 0.8594, 0.0000);
- CreateObject(970, 1758.880005, -1688.861694, 13.021655, 0.0000, 0.0000, 0.0000);
- CreateObject(970, 1758.722534, -1703.517334, 13.031942, 0.0000, 0.0000, 1.7189);
- CreateObject(970, 1758.804810, -1694.790527, 13.024340, 0.0000, 0.0000, 0.0000);
- CreateObject(970, 1758.820801, -1697.284790, 13.017817, 0.0000, 0.0000, 0.8594);
- CreateObject(2745, 1757.273193, -1696.097534, 13.710930, 0.0000, 0.0000, 269.7591);
- CreateObject(1536, 1758.680786, -1711.796387, 12.524796, 0.0000, 0.0000, 269.6818);
- CreateObject(1536, 1758.679565, -1714.807251, 12.533935, 0.0000, 0.0000, 89.2000);
- CreateObject(3470, 1761.328735, -1710.643799, 21.395254, 0.0000, 0.0000, 0.0000);
- CreateObject(1231, 1759.107544, -1696.112305, 15.195230, 0.0000, 0.0000, 0.0000);
- CreateObject(1291, 1757.169678, -1687.018799, 13.029341, 0.0000, 0.0000, 0.0000);
- CreateObject(7245, 1771.529297, -1713.175415, -32.797913, 0.0000, 0.0000, 0.0000);
- CreateObject(974, 1760.253296, -1713.857666, -33.711601, 0.0000, 0.0000, 90.2409);
- CreateObject(974, 1760.201904, -1707.209106, -33.780415, 0.0000, 0.0000, 91.1003);
- CreateObject(15054, 1817.830078, -1679.976196, -27.671082, 0.0000, 0.0000, 0.0000);
- CreateObject(1494, 1830.329224, -1671.897705, -31.138176, 0.0000, 0.0000, 89.3814);
- CreateObject(936, 1811.456299, -1667.867188, -29.189043, 0.0000, 0.0000, 0.0000);
- CreateObject(937, 1809.580566, -1667.889771, -29.196369, 0.0000, 0.0000, 0.0000);
- CreateObject(1745, 1818.421753, -1682.279419, -29.672295, 0.0000, 0.0000, 179.6223);
- // -------------------------------------------------------------
- // Pickups
- pickup_fdenter = CreatePickup(1239, 1, 1757.7568, -1713.6682, 13.5411, 0);
- pickup_fdg1 = CreatePickup(1318, 1, 1775.1172, -1704.9606, 13.5216, 0);
- pickup_fdg2 = CreatePickup(1318, 1, 1782.9165, -1705.0857, 13.5223, 0);
- pickup_fdg12 = CreatePickup(1318, 1, 1754.9189,-1689.6385,-35.2901, 0);
- //
- // ----
- // Cars
- AddStaticVehicle(407,1777.9478,-1719.1196,-35.0481,90.0609,3,1); // firetruck 1
- AddStaticVehicle(407,1777.9819,-1723.7410,-35.0475,90.2338,3,1); // firetruck 2
- AddStaticVehicle(407,1777.5082,-1713.6177,-35.0533,88.4948,3,1); // firetruck 3
- AddStaticVehicle(544,1777.3060,-1709.8086,-35.0530,89.3039,3,1); // firetruck 4
- AddStaticVehicle(544,1778.0076,-1705.2819,-35.0554,89.5342,3,1); // firetruck 5
- AddStaticVehicle(490,1788.4799,-1705.5354,-35.1627,268.3066,0,0); // firetruck 6
- AddStaticVehicle(490,1788.4658,-1709.6871,-35.1612,269.4679,0,0); // firetruck 6
- AddStaticVehicle(561,1788.1528,-1714.1017,-35.4765,267.1332,8,17); // firetruck 7
- AddStaticVehicle(573,1789.1207,-1718.8350,-34.6397,268.9370,115,43); // firetruck 8
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1755.5942,-1713.6240,13.5437);
- SetPlayerCameraPos(playerid, 1751.5658,-1718.8704,13.3828);
- SetPlayerCameraLookAt(playerid, 1755.5942,-1713.6240,13.5437);
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- GameTextForPlayer(playerid,"~g~Welcome",4500,1);
- SetPlayerColor(playerid, COLOR_RED2);
- SetPlayerInterior(playerid,0);
- 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 OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/kill", cmdtext, true, 10) == 0)
- {
- SetPlayerHealth(playerid, 0);
- return 1;
- }
- return 0;
- }
- 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)
- {
- if(pickupid == pickup_fdenter) return GameTextForPlayer(playerid,"~r~FD~w~: Get Telepored in..wait...",4000,3);
- if(pickupid == pickup_fdg2) return GameTextForPlayer(playerid,"~r~FD~w~: Get Telepored in..wait...",4000,3);
- if ( pickupid == pickup_fdg1 )
- {
- GameTextForPlayer(playerid,"~r~FD~w~: Welcome in the ~r~Fire Department",4000,3);
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid, 1766.826660, -1689.418823, -35.316597);
- }
- if ( pickupid == pickup_fdg12 )
- {
- GameTextForPlayer(playerid,"~r~FD~w~: Get Telepored out..wait...",4000,3);
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid, 1777.2286, -1692.2789, 13.4444);
- }
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement