Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("Blank Script");
- //Objects//
- AddStaticVehicleEx(470,2476.5000000,-1656.0999756,13.3999996,0.0000000,3,3,15); //Patriot
- AddStaticVehicleEx(470,2480.3999023,-1656.0999756,13.3999996,0.0000000,3,3,15); //Patriot
- AddStaticVehicleEx(470,2484.1999512,-1656.0999756,13.3999996,0.0000000,3,3,15); //Patriot
- AddStaticVehicleEx(470,2488.1000977,-1656.0000000,13.5000000,0.0000000,3,3,15); //Patriot
- AddStaticVehicleEx(470,2491.3000488,-1655.8000488,13.5000000,0.0000000,3,3,15); //Patriot
- AddStaticVehicleEx(492,2509.8000488,-1667.1999512,13.5000000,10.0000000,-1,3,15); //Greenwood
- AddStaticVehicleEx(492,2509.6999512,-1673.8000488,13.3000002,340.0000000,2,-1,15); //Greenwood
- AddStaticVehicleEx(492,2505.8999023,-1679.8000488,13.3999996,313.9975586,16,-1,15); //Greenwood
- AddStaticVehicleEx(560,2491.1000977,-1682.0999756,13.1000004,0.0000000,3,-1,15); //Sultan
- AddStaticVehicleEx(560,2487.3999023,-1681.5999756,13.1000004,0.0000000,-1,29,15); //Sultan
- AddStaticVehicleEx(560,2483.3000488,-1681.8000488,13.1000004,0.0000000,-1,-1,15); //Sultan
- AddStaticVehicleEx(487,2525.3000488,-1677.3000488,20.2000008,0.0000000,3,-1,15); //Maverick
- AddStaticVehicleEx(487,2535.0000000,-1678.0000000,20.2000008,0.0000000,-1,3,15); //Maverick
- CreateObject(987, 2431.3000488281, -1668.9000244141, 12.699999809265, 0, 0, 272);
- CreateObject(3475, 2431.6000976563, -1667.3000488281, 14.89999961853, 0, 0, 0);
- CreateObject(3749, 2432.6000976563, -1657.9000244141, 18.200000762939, 0, 0, 272);
- CreateObject(980, 2432.5, -1657.9000244141, 15.199999809265, 0, 0, 272);
- CreateObject(987, 2433.1000976563, -1636, 12.39999961853, 0, 0, 271.5);
- CreateObject(3475, 2433.3999023438, -1633.1999511719, 14.800000190735, 0, 0, 1.25);
- CreateObject(3578, 2480.3000488281, -1653.1999511719, 13.199999809265, 0, 0, 0);
- CreateObject(3578, 2488.1999511719, -1653.3000488281, 13.199999809265, 0, 0, 0);
- CreateObject(987, 2435.3999023438, -1628.1999511719, 12.89999961853, 0, 0, 0);
- CreateObject(987, 2447.5, -1628.4000244141, 13.60000038147, 0, 0, 0);
- CreateObject(987, 2459.5, -1628.6999511719, 14.5, 0, 0, 0);
- CreateObject(987, 2471.1999511719, -1629, 14.89999961853, 0, 0, 0);
- CreateObject(987, 2482.3999023438, -1628.9000244141, 15.39999961853, 0, 0, 0);
- CreateObject(987, 2494.3000488281, -1628.5999755859, 16, 0, 0, 2);
- CreateObject(987, 2506.1999511719, -1628.3000488281, 16.5, 0, 0, 1.99951171875);
- CreateObject(987, 2518, -1628.0999755859, 16.799999237061, 0, 0, 1.99951171875);
- CreateObject(987, 2529.8000488281, -1628.0999755859, 16.799999237061, 0, 0, 1.99951171875);
- CreateObject(987, 2465.3999023438, -1722.5999755859, 12.5, 0, 0, 2);
- CreateObject(987, 2453.3999023438, -1722.9000244141, 12.699999809265, 0, 0, 1.99951171875);
- CreateObject(987, 2441.1999511719, -1722.6999511719, 12.800000190735, 0, 0, 1.99951171875);
- CreateObject(975, 2480.1999511719, -1722.1999511719, 14.199999809265, 0, 0, 0);
- CreateObject(8656, 2540.6999511719, -1705.0999755859, 13.60000038147, 0, 0, 0);
- CreateObject(8656, 2520.3999023438, -1722, 13.699999809265, 0, 0, 270);
- CreateObject(8656, 2520.3999023438, -1722, 16, 0, 0, 270);
- CreateObject(991, 2540.8999023438, -1717.5, 16, 0, 0, 270);
- CreateObject(991, 2541, -1713.1999511719, 16, 0, 0, 270);
- CreateObject(991, 2537.6999511719, -1721.6999511719, 16, 0, 0, 196.5);
- CreateObject(1271, 2507.3000488281, -1659.0999755859, 12.89999961853, 0, 0, 0);
- CreateObject(1271, 2507.3000488281, -1659.9000244141, 12.89999961853, 0, 0, 2);
- CreateObject(1337, 2507.3000488281, -1658.8000488281, 13.5, 0, 0, 276);
- CreateObject(1271, 2508.1000976563, -1659.8000488281, 12.89999961853, 0, 0, 1.99951171875);
- CreateObject(1271, 2508, -1659.0999755859, 12.89999961853, 0, 0, 1.99951171875);
- CreateObject(1337, 2507.8000488281, -1660.0999755859, 13.5, 0, 0, 0);
- CreateObject(1337, 2508.3999023438, -1659.4000244141, 13.5, 0, 0, 0);
- //Class//
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- 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 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 OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/mycommand", cmdtext, true, 10) == 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 OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment