rendered paste body/*--------------------------------------------------------------------------*/
#include <a_samp>
#include <dini>
#define SLOTS 15
new Float:spawnpoints[74][3] =
{
{2495.4592,-1687.1144,13.5156},
{2675.1919,-1995.2333,13.5547},
{2092.5828,-2078.1809,13.5469},
{2694.2588,-2435.9512,13.6319},
{2197.0308,-2662.5967,13.5469},
{1684.5081,-2113.3713,13.5013},
{1682.4403,-2283.1531,-1.2379},
{1715.1326,-1912.6400,13.5665},
{1209.8468,-2036.2068,69.0078},
{2028.5029,-1420.2927,16.9922},
{2746.5295,-1829.5334,11.8478},
{2805.8899,-1281.1737,43.9796},
{2520.3875,-1489.0338,23.9993},
{1497.5365,-692.3671,94.7500,},
{2376.7131,-1785.4954,13.5469},
{365.6730,-10.7132,1001.8516,},
{2397.3606,-1896.1884,13.3828},
{2520.0090,-1488.1371,23.9993},
{2297.9893,-1502.8060,25.3047},
{2520.2239,-1357.5765,28.5337},
{2422.0696,-1225.0531,25.1844},
{2268.9646,-1116.2661,37.3837},
{2087.5168,-1166.6263,25.4475},
{1916.5229,-1418.7424,16.3594},
{2096.9419,-1806.3960,13.5530},
{1960.7386,-1562.2089,13.6026},
{1832.3033,-1681.6267,13.5207},
{1545.7557,-1675.8505,13.5610},
{1671.2106,-1325.1564,17.4284},
{1517.0878,-1206.3639,23.5938},
{1481.3728,-1764.6039,18.7958},
{1568.1238,-1895.9733,13.5604},
{1117.0114,-1619.4375,20.4944},
{1128.7382,-1489.2594,22.7690},
{1122.5850,-1132.0422,23.8281},
{1195.5461,-919.8156,43.1573},
{823.6526,-1102.9128,25.7891},
{1153.9746,-1767.8619,16.5938},
{852.4189,-1520.0508,13.5547},
{1290.5574,-798.0464,96.4609},
{689.7907,-1275.5042,13.5594},
{499.5406,-1571.3601,16.5058},
{369.8445,-2048.4973,7.8359},
{722.9855,-1490.8480,1.9343}
};
/*-------------------------------------------------------------------------*/
main()
{
print("\n----------------------------------");
print(" Grove Streat Royalties DM ");
print(" Loading ... ");
print("----------------------------------\n");
}
/*--------------------------------------------------------------------------*/
public OnGameModeInit()
{
SetGameModeText("Grove St. Royalties DM");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
/*----------------------------------------------------------------------------
ADMIN SCRIP STUFF
----------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
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)
return 1;
/*--------------------------------------------------------------------------*/
public OnPlayerDisconnect(playerid)
return 1;
/*--------------------------------------------------------------------------*/
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, spawnpoints[74][3]);
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 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;
}
/*--------------------------------------------------------------------------
COMMANDS
---------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/