rendered paste body#include <a_samp>
// This filterscript is made by Matias_Matute
// If u go to use in your server please add me to your credits.
// The station are in LS before cross the bridge to LV
//#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Train Station in LS");
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
CreateObject(4817, 2825.757568, -16.730263, 29.439280, 0.0000, 3.4377, 90.2408);
CreateObject(8841, 2820.122559, -20.585621, 33.180832, 0.0000, 3.4377, 90.2408);
CreateObject(978, 2830.039551, -63.807152, 33.280750, 0.0000, 0.0000, 0.0000);
CreateObject(2792, 2820.143555, -21.122046, 34.445793, 0.0000, 0.0000, 0.0000);
CreateObject(2775, 2819.829834, -6.339141, 33.283634, 0.0000, 0.0000, 0.0000);
CreateObject(8841, 2819.600586, 23.119354, 30.547277, 0.0000, 3.4377, 91.1002);
CreateObject(973, 2816.113037, 36.303329, 27.266956, 0.0000, 0.0000, 273.1970);
CreateObject(12839, 2820.559082, 50.911087, 22.764015, 0.0000, 0.0000, 268.8998);
CreateObject(4882, 2833.748291, -85.902084, 38.099834, 0.0000, 0.0000, 90.2408);
CreateObject(8404, 2826.228516, -106.169632, 34.108406, 0.0000, 0.0000, 352.2651);
CreateObject(619, 2877.100098, -96.936600, 34.275223, 0.0000, 0.0000, 0.0000);
CreateObject(619, 2873.118896, -113.902756, 34.275223, 0.0000, 0.0000, 0.0000);
CreateObject(690, 2867.585449, -122.352036, 34.679413, 0.0000, 0.0000, 0.0000);
CreateObject(745, 2867.145752, -97.665283, 34.724739, 0.0000, 0.0000, 0.0000);
CreateObject(982, 2857.670410, -102.634720, 34.809387, 0.0000, 0.0000, 353.1245);
CreateObject(982, 2855.585449, -118.200424, 34.809387, 0.0000, 0.0000, 353.9839);
CreateObject(1309, 2805.918213, 117.712921, 34.165558, 0.0000, 0.0000, 93.6785);
CreateObject(976, 2791.016846, -8.169464, 33.173164, 0.0000, 0.0000, 161.5743);
CreateObject(976, 2782.475830, 123.416008, 21.539021, 0.0000, 0.0000, 17.1887);
CreateObject(972, 2713.300537, 46.677269, 22.479332, 0.0000, 0.0000, 186.4982);
CreateObject(1425, 2706.451172, 38.204159, 23.269508, 0.0000, 0.0000, 285.2291);
CreateObject(4639, 2846.081299, 40.587189, 20.380423, 0.0000, 0.0000, 343.6707);
CreateObject(1552, 2846.029541, 35.414642, 19.922724, 0.0000, 0.0000, 70.0783);
CreateObject(1552, 2849.503174, 44.782585, 19.961775, 0.0000, 0.0000, 67.8954);
CreateObject(1553, 2844.304199, 30.466679, 19.951595, 0.0000, 0.0000, 71.3332);
CreateObject(1553, 2851.408447, 49.778366, 19.947372, 0.0000, 0.0000, 70.4738);
CreateObject(1553, 2850.483887, 51.434158, 19.869968, 0.0000, 0.0000, 341.9518);
CreateObject(1553, 2848.014404, 51.890686, 19.963764, 0.0000, 0.0000, 0.0000);
CreateObject(7522, 2789.318115, 44.303432, 24.178270, 0.0000, 0.0000, 91.9597);
CreateObject(2792, 2819.485596, 29.644642, 31.038254, 0.0000, 0.0000, 0.0000);
CreateObject(2792, 2847.677979, 39.729858, 21.956821, 0.0000, 0.0000, 73.0521);
CreateObject(2773, 2845.554199, 34.642807, 19.146975, 0.0000, 0.0000, 341.0924);
CreateObject(2773, 2846.313721, 37.137878, 19.155754, 0.0000, 0.0000, 341.0924);
CreateObject(1237, 2798.833496, 28.320549, 20.759312, 0.0000, 0.0000, 0.0000);
CreateObject(975, 2800.121338, 57.333191, 21.049667, 0.0000, 0.0000, 0.0000);
CreateObject(975, 2808.890869, 57.394226, 20.958633, 0.0000, 0.0000, 0.0000);
CreateObject(975, 2812.275391, 57.421417, 20.885326, 0.0000, 0.0000, 0.0000);
CreateObject(1424, 2750.114258, 143.174759, 20.658213, 0.0000, 0.0000, 0.0000);
CreateObject(1257, 2826.008301, 49.262276, 20.199541, 0.0000, 0.0000, 83.3653);
CreateObject(1571, 2820.089111, -25.081450, 31.760649, 0.0000, 0.0000, 85.9436);
CreateObject(2780, 2863.571533, -124.919441, 34.108406, 0.0000, 0.0000, 0.0000);
CreateObject(2780, 2870.113525, -97.295448, 36.268429, 0.0000, 0.0000, 0.0000);
CreateObject(3864, 2839.948486, -17.671841, 35.828152, 0.0000, 0.0000, 1.7189);
CreateObject(9833, 2860.804932, 15.363740, 20.563604, 0.0000, 0.0000, 0.0000);
CreateObject(1225, 2856.130615, 47.272369, 19.103664, 0.0000, 0.0000, 0.0000);
CreateObject(2780, 2904.416992, 15.786979, 15.986105, 0.0000, 0.0000, 0.0000);
CreateObject(1344, 2849.064941, 48.958897, 19.619289, 0.0000, 0.0000, 341.0924);
CreateObject(1212, 2824.038330, 49.324306, 18.973206, 0.0000, 0.0000, 0.0000);
CreateObject(7894, 2801.513672, -531.986633, 10.386332, 0.0000, 0.0000, 34.3775);
CreateObject(987, 2846.875488, -392.714661, 8.098715, 0.0000, 0.0000, 216.4740);
AddStaticVehicle(560,2831.2275,39.6363,19.5008,265.6827,17,1); // sultan
AddStaticVehicle(405,2831.3887,36.7834,19.7032,265.2949,91,1); // sultan
AddStaticVehicle(437,2725.3083,37.5028,23.0518,275.6198,82,87); // bus
AddStaticVehicle(437,2725.4978,45.1235,23.0124,268.5277,82,87); // bus
AddStaticVehicle(437,2734.0322,58.9148,22.2724,176.9803,82,87); // bus
AddStaticVehicle(437,2740.6479,61.5001,21.8939,180.6461,82,87); // bus
AddStaticVehicle(437,2746.5007,31.1033,23.1612,11.8016,82,87); // bus
AddStaticVehicle(437,2740.8110,28.2269,23.9646,6.3361,82,87); // bus
AddStaticVehicle(437,2766.8342,56.4200,21.3701,178.9517,82,87); // bus
AddStaticVehicle(537,2827.8782,-51.9629,33.6944,180.2455,1,1); // train spawn
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 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("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
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;
}