All pastes #609445 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-08 22:00 UTC
rendered paste body
#include <a_samp>

main()
{
	print("\n----------------------------------");
	print("  This is a blank GameModeScript");
	print("----------------------------------\n");
}



public OnGameModeInit()
{
	print("GameModeInit()");
	SetGameModeText("Blank Script");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	printf("OnPlayerRequestClass(%d, %d)", 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 OnGameModeExit()
{
	print("GameModeExit()");
	return 1;
}

public OnPlayerConnect(playerid)
{
	printf("OnPlayerConnect(%d)", playerid);
	return 1;
}

public OnPlayerDisconnect(playerid)
{
	printf("OnPlayerDisconnect(%d)", playerid);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	printf("OnPlayerSpawn(%d)", playerid);
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	printf("OnPlayerDeath(%d, %d, %d)", playerid, killerid, reason);
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	printf("OnVehicleSpawn(%d)", vehicleid);
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	printf("OnVehicleDeath(%d, %d)", vehicleid, killerid);
	return 1;
}

public OnPlayerText(playerid)
{
	printf("OnPlayerText(%d)", playerid);
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp(cmdtext, "/mycommand", true)==0)
	{
	    /* Do something here */
	    return 1;
	}
	return 0;
}

public OnPlayerInfoChange(playerid)
{
	printf("OnPlayerInfoChange(%d)");
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	printf("OnPlayerEnterVehicle(%d, %d, %d)", playerid, vehicleid, ispassenger);
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	printf("OnPlayerExitVehicle(%d, %d)", playerid, vehicleid);
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	printf("OnPlayerStateChange(%d, %d, %d)", playerid, newstate, oldstate);
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	printf("OnPlayerEnterCheckpoint(%d)", playerid);
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	printf("OnPlayerLeaveCheckpoint(%d)", playerid);
	return 1;
}

CreateVehicle(522, -301.424347, 2690.527344, 62.337570, 56, -1, -1, 120000);  // spawnpoint (2)
CreateVehicle(522, -1334.791260, 2442.809570, 87.784317, 316, -1, -1, 120000);  // spawnpoint (3)
CreateVehicle(522, -1338.056641, 2436.126709, 88.911980, 259, -1, -1, 120000);  // spawnpoint (4)
CreateVehicle(522, -1320.626465, 2524.098145, 87.034889, 192, -1, -1, 120000);  // spawnpoint (5)
CreateVehicle(522, -1322.252930, 2524.416016, 86.989342, 192, -1, -1, 120000);  // spawnpoint (6)
CreateVehicle(522, -1324.701660, 2522.911133, 86.842690, 271, -1, -1, 120000);  // spawnpoint (7)
CreateVehicle(522, -1332.458618, 2522.841309, 86.707253, 271, -1, -1, 120000);  // spawnpoint (8)




CreateObject(3271, 354.003662, 1905.403320, 16.934853, 0, 0, 11.25);
CreateObject(1550, 267.249268, 1944.511475, 17.033966, 0, 0, 0);
CreateObject(2780, -235.097565, 2658.592529, 69.828781, 0, 0, 0);
CreateObject(1216, -234.061386, 2656.000000, 62.330936, 0, 0, 0);
CreateObject(1346, -279.318390, 2654.777588, 63.059402, 0, 0, 171.8873);
CreateObject(2358, -1259.103149, 2291.984375, 131.448761, 0, 0, 0);
CreateObject(2358, -1259.109009, 2292.597168, 131.439819, 0, 0, 0);
CreateObject(2358, -1260.139648, 2292.668945, 131.501007, 0, 0, 0);
CreateObject(2358, -1260.144897, 2291.988770, 131.511642, 0, 0, 0);
CreateObject(2358, -1260.135986, 2292.842529, 131.732605, 0, 0, 0);
CreateObject(2358, -1259.098999, 2292.805664, 131.649399, 0, 0, 0);
CreateObject(2358, -1260.204590, 2293.756348, 131.488449, 0, 0, 0);
CreateObject(2358, -1259.141846, 2293.125000, 131.433807, 0, 0, 0);
CreateObject(2358, -1260.160034, 2293.179932, 131.490341, 0, 0, 0);
CreateObject(18368, -1310.789307, 2291.894043, 124.611267, 0, 0, 213.75);
CreateObject(955, -1321.812744, 2301.312988, 129.714828, 0, 0, 67.5);
CreateObject(1568, -1324.111816, 2297.196777, 129.322861, 0, 0, 0);
CreateObject(2867, -1322.677002, 2299.075928, 129.310974, 0, 0, 0);
CreateObject(2859, -1320.525635, 2302.672363, 129.049789, 0, 0, 0);
CreateObject(922, -1320.444946, 2305.762939, 129.947342, 0, 0, 45);
CreateObject(922, -1317.432373, 2309.073242, 129.939987, 0, 0, 33.75);
CreateObject(16641, -1334.610474, 2504.338379, 87.801727, 0, 0, 0);
CreateObject(7392, -1245.934448, 2515.343018, 113.949348, 0, 0, 33.75);
CreateObject(3525, -1313.449097, 2504.820557, 86.761002, 0, 0, 0);
CreateObject(3267, -1358.377319, 2533.640625, 85.706856, 0, 0, 56.25);
CreateObject(3267, -1364.158081, 2506.876221, 86.482018, 0, 0, 112.5);
CreateObject(16782, -1293.725098, 2533.236328, 87.935333, 0, 0, 90);
CreateObject(14608, -1303.952881, 2557.656738, 88.169258, 0, 0, 326.25);
CreateObject(16779, -1318.602173, 2524.844727, 90.440994, 0, 0, 0);
CreateObject(3280, -1286.123413, 2512.650879, 86.087883, 0, 0, 67.5);
CreateObject(850, -1293.010620, 2491.802979, 86.137680, 0, 0, 0);
CreateObject(1985, -1315.839600, 2525.514648, 89.291351, 0, 0, 0);
CreateObject(3277, -1293.303101, 2529.535156, 89.205345, 0, 0, 45);
CreateObject(14673, -1294.886353, 2555.259521, 86.572548, 0, 0, 348.75);
CreateObject(2044, -1292.072021, 2530.345947, 89.732880, 0, 0, 0);
CreateObject(2036, -1293.039673, 2528.426025, 89.739273, 0, 0, 0);
CreateObject(2034, -1294.949463, 2529.834473, 89.736160, 0, 0, 0);
CreateObject(1636, -1292.564575, 2572.207031, 85.103554, 0, 0, 90);
CreateObject(1582, -1315.817383, 2530.616211, 87.144699, 0, 0, 0);
CreateObject(1581, -1319.445313, 2528.393311, 88.057533, 0, 0, 90);
CreateObject(1318, -1319.445313, 2527.222900, 88.213104, 0, 0, 0);
CreateObject(1314, -1315.426147, 2530.834229, 87.532440, 0, 0, 101.25);
CreateObject(1276, -1311.996216, 2528.408203, 87.179993, 0, 0, 22.5);
CreateObject(1248, -1319.445313, 2525.928955, 87.909203, 0, 0, 101.25);
CreateObject(1212, -1318.433594, 2527.544434, 86.614143, 0, 0, 33.75);
CreateObject(1210, -1319.311646, 2528.883545, 86.758263, 0, 0, 270);
CreateObject(2710, -1318.614624, 2524.514648, 86.563126, 0, 0, 168.7499);
CreateObject(2237, -1316.738892, 2527.318848, 87.532661, 0, 0, 281.25);
CreateObject(2068, -1317.206543, 2525.789063, 92.162567, 0, 0, 157.5);
CreateObject(2068, -1316.046631, 2523.500000, 88.828171, 0, 0, 22.5);
CreateObject(2061, -1324.575562, 2528.378906, 89.276306, 0, 0, 135);
CreateObject(14638, -1316.593872, 2523.587891, 86.431259, 0, 0, 168.7499);
CreateObject(619, -1266.409790, 2469.715820, 86.816406, 0, 0, 0);
CreateObject(619, -1299.479004, 2469.233398, 86.648911, 0, 0, 135);
CreateObject(619, -1313.887939, 2558.803711, 86.215981, 0, 0, 135);
CreateObject(1238, -1294.128906, 2468.188477, 86.655869, 0, 0, 0);
CreateObject(1238, -1292.132813, 2468.366211, 86.654343, 0, 0, 0);
CreateObject(1238, -1289.783936, 2468.570801, 86.651939, 0, 0, 0);
CreateObject(1238, -1287.796753, 2469.054199, 86.642792, 0, 0, 0);
CreateObject(1238, -1285.313721, 2469.510254, 86.716606, 0, 0, 0);
CreateObject(1238, -1296.461304, 2468.590332, 86.759262, 0, 0, 0);
CreateObject(1238, -1284.040894, 2470.206299, 86.747238, 0, 0, 0);
CreateObject(3861, -1318.196167, 2524.665039, 90.632767, 0, 0, 180);
CreateObject(3861, -1316.012085, 2524.581299, 90.598824, 0, 0, 180);
CreateObject(1754, -1315.729736, 2528.620850, 86.629738, 0, 0, 281.25);
CreateObject(2018, -1310.570068, 2530.686035, 86.716057, 0, 0, 270);
CreateObject(1481, -1311.732666, 2528.758545, 87.896248, 0, 0, 213.75);
CreateObject(16444, -1319.085815, 2545.915527, 86.981972, 0, 0, 90);
CreateObject(16444, -1316.337769, 2546.412109, 87.096313, 0, 0, 90);
CreateObject(16444, -1319.265747, 2542.371338, 86.955154, 0, 0, 90);
CreateObject(16444, -1315.327271, 2543.146240, 87.096313, 0, 0, 90);
CreateObject(16444, -1315.534790, 2544.354980, 87.549484, 0, 0, 90);
CreateObject(16444, -1323.676147, 2539.954102, 86.297577, 0, 0, 146.25);
CreateObject(14494, -1334.170044, 2525.298584, 87.625870, 0, 0, 281.25);
CreateObject(14480, -1333.098511, 2526.325928, 86.641319, 0, 0, 180);
CreateObject(18553, -1333.746704, 2528.481689, 87.399406, 0, 0, 90.0001);
CreateObject(18553, -1330.701782, 2525.805176, 87.374008, 0, 0, 0.0002);
CreateObject(18553, -1332.590088, 2523.406494, 87.338821, 0, 0, 281.2502);
CreateObject(18553, -1336.246338, 2526.422607, 87.494736, 0, 0, 168.7502);
CreateObject(16501, -1320.004761, 2527.445313, 88.995621, 0, 0, 180);
CreateObject(16501, -1316.560913, 2531.759521, 88.942665, 0, 0, 101.25);
CreateObject(16501, -1309.822632, 2531.951416, 89.148598, 0, 0, 78.7501);
CreateObject(16501, -1311.210815, 2527.638916, 89.048798, 0, 0, 270.0002);
CreateObject(16501, -1307.073120, 2529.663818, 88.876312, 0, 0, 337.5);
CreateObject(2378, -1319.038818, 2530.173340, 87.172554, 0, 0, 90);
CreateObject(3499, -1312.368286, 2525.165527, 91.991005, 0, 0, 202.5);
CreateObject(1668, -1318.299683, 2522.556641, 86.562912, 0, 0, 0);
CreateObject(643, -1314.060425, 2521.371094, 86.820038, 0, 0, 0);
CreateObject(1846, -1307.279663, 2538.254639, 85.794724, 0, 0, 101.25);
CreateObject(17051, -1342.921387, 2561.433105, 81.212914, 0, 0, 258.75);
CreateObject(16770, -1362.036499, 2519.592041, 86.835152, 0, 0, 157.5);
 (16326, -1348.190796, 2543.114502, 85.986031, 0, 0, 112.5);
 (18266, -1337.855469, 2453.623291, 90.531235, 0, 0, 326.25);