14.12.2015, 17:05
PHP код:
public OnGameModeInit()
{
// some code
CreateObject(3607, 1306.41516, 168.48245, 25.58073, 0.00000, 0.00000, 69.86023);
CreateObject(16151, 1310.16003, 134.05977, 19.82454, 0.00000, 0.00000, 333.26828);
CreateObject(1432, 1304.92847, 132.46878, 19.59503, 0.00000, 0.00000, 0.00000);
CreateObject(1432, 1306.75659, 137.79927, 19.49764, 0.00000, 0.00000, 0.00000);
CreateObject(1432, 1303.53137, 137.68436, 19.49949, 0.00000, 0.00000, 0.00000);
CreateObject(1432, 1305.59802, 135.19325, 19.58012, 0.00000, 0.00000, 0.00000);
CreateObject(1432, 1302.54041, 134.53088, 19.54607, 0.00000, 0.00000, 0.00000);
CreateObject(1775, 1314.34595, 140.64548, 20.30334, 0.00000, 0.00000, 252.74940);
CreateObject(9833, 1282.91980, 174.52245, 21.36313, 0.00000, 0.00000, 356.52475);
CreateObject(652, 1299.50269, 149.87029, 19.41948, 0.00000, 0.00000, 0.00000);
CreateObject(652, 1309.96191, 183.74751, 19.43826, 0.00000, 0.00000, 0.00000);
return 1;
}
public OnPlayerConnect(playerid)
{
// some code
RemoveBuildingForPlayer(playerid, 3339, 1297.2813, 173.5781, 19.4609, 0.25);
RemoveBuildingForPlayer(playerid, 3340, 1308.3984, 168.1406, 19.4063, 0.25);
RemoveBuildingForPlayer(playerid, 3341, 1281.2266, 158.0938, 19.3438, 0.25);
RemoveBuildingForPlayer(playerid, 3343, 1295.9844, 158.7422, 19.3828, 0.25);
RemoveBuildingForPlayer(playerid, 3343, 1305.0391, 184.9141, 19.3438, 0.25);
RemoveBuildingForPlayer(playerid, 3345, 1298.6094, 194.2656, 19.3281, 0.25);
RemoveBuildingForPlayer(playerid, 3345, 1305.2656, 152.7734, 19.2969, 0.25);
RemoveBuildingForPlayer(playerid, 3344, 1299.7109, 138.7344, 19.3438, 0.25);
RemoveBuildingForPlayer(playerid, 3344, 1313.9688, 179.8438, 19.3594, 0.25);
RemoveBuildingForPlayer(playerid, 3594, 1265.5703, 153.3828, 19.4609, 0.25);
RemoveBuildingForPlayer(playerid, 769, 1267.9141, 146.8203, 19.1953, 0.25);
RemoveBuildingForPlayer(playerid, 3170, 1281.2266, 158.0938, 19.3438, 0.25);
RemoveBuildingForPlayer(playerid, 3594, 1280.9297, 147.3125, 20.0078, 0.25);
RemoveBuildingForPlayer(playerid, 3168, 1295.9844, 158.7422, 19.3828, 0.25);
RemoveBuildingForPlayer(playerid, 3171, 1299.7109, 138.7344, 19.3438, 0.25);
RemoveBuildingForPlayer(playerid, 3172, 1305.2656, 152.7734, 19.2969, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1301.2578, 147.3828, 18.8203, 0.25);
RemoveBuildingForPlayer(playerid, 780, 1301.5938, 154.5078, 19.3281, 0.25);
RemoveBuildingForPlayer(playerid, 3594, 1271.3125, 163.3906, 19.4375, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 1264.5469, 172.2188, 23.0078, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1281.5156, 165.5313, 18.8203, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1297.0703, 179.2266, 19.9453, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1293.5547, 163.8828, 19.9453, 0.25);
RemoveBuildingForPlayer(playerid, 3168, 1305.0391, 184.9141, 19.3438, 0.25);
RemoveBuildingForPlayer(playerid, 3169, 1297.2813, 173.5781, 19.4609, 0.25);
RemoveBuildingForPlayer(playerid, 775, 1301.2734, 164.2656, 19.3516, 0.25);
RemoveBuildingForPlayer(playerid, 764, 1303.6328, 173.3984, 18.9375, 0.25);
RemoveBuildingForPlayer(playerid, 3171, 1313.9688, 179.8438, 19.3594, 0.25);
RemoveBuildingForPlayer(playerid, 3167, 1308.3984, 168.1406, 19.4063, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1308.2656, 174.2891, 18.8203, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1313.3203, 167.0313, 19.9453, 0.25);
RemoveBuildingForPlayer(playerid, 709, 1358.1484, 166.5234, 19.4609, 0.25);
RemoveBuildingForPlayer(playerid, 3172, 1298.6094, 194.2656, 19.3281, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1274.1875, 191.4609, 18.8203, 0.25);
RemoveBuildingForPlayer(playerid, 1438, 1276.1172, 190.2266, 18.6094, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1324.7266, 187.3516, 17.7813, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1318.3828, 196.0547, 19.6094, 0.25);
RemoveBuildingForPlayer(playerid, 705, 1290.4766, 198.6797, 18.7656, 0.25);
RemoveBuildingForPlayer(playerid, 13441, 1338.0625, 198.7344, 30.0234, 0.25);
return 1;
}