Map Helping. -
aymane123 - 24.11.2016
I Made a Map But I Dont Know How To Complie It Because I Have Errors I Dont Know What To Add Any Help ?
Re: Map Helping. -
TonyII - 24.11.2016
Can you show us the errors?
Re: Map Helping. -
Pearson - 24.11.2016
Hello. show us your errors bro.
Re: Map Helping. -
RyderX - 24.11.2016
To complie your map in your gamemode you should put all map codes under
public OnGameModeInit()
Re: Map Helping. -
aymane123 - 25.11.2016
here is the code but idk where to put those things forgive me i am new to pawno:
Код:
RemoveBuildingForPlayer(playerid, 4523, -1592.7813, 622.7813, 42.9688, 0.25);
RemoveBuildingForPlayer(playerid, 4524, -1141.7188, 1098.0547, 39.4766, 0.25);
RemoveBuildingForPlayer(playerid, 4527, -1009.5859, 943.8125, 35.4766, 0.25);
CreateObject(987, -1392.54199, 847.91815, 10.65498, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1380.50940, 847.94324, 10.66952, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1368.37720, 847.79541, 10.74708, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1356.34937, 847.72571, 10.82898, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1344.15564, 847.62927, 10.86281, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1332.26880, 847.36780, 11.06198, 0.00000, 0.00000, -89.34008);
CreateObject(987, -1332.11194, 835.38593, 11.05250, 0.00000, 0.00000, -89.70003);
CreateObject(987, -1332.02014, 823.45404, 11.05968, 0.00000, 0.00000, -90.00002);
CreateObject(14608, -1395.55505, 802.62415, 23.33109, 0.00000, 0.00000, 38.10000);
CreateObject(3876, -1330.72021, 809.53833, 11.05333, 0.00000, 0.00000, -5.52000);
CreateObject(987, -1329.28772, 810.14740, 11.06054, 0.00000, 0.00000, 0.00000);
CreateVehicle(446, -1278.9412, 730.8862, -0.0108, -179.4000, -1, -1, 100);
CreateVehicle(446, -1289.3125, 731.6751, -0.0145, -175.2599, -1, -1, 100);
CreateVehicle(446, -1308.0985, 734.9551, 0.0374, -177.4198, -1, -1, 100);
CreateVehicle(446, -1317.6559, 733.8820, 0.5428, -177.9600, -1, -1, 100);
CreateVehicle(429, -1348.1119, 782.3547, 11.9732, 0.0000, -1, -1, 100);
CreateVehicle(429, -1345.0581, 782.3599, 11.8503, 0.0000, -1, -1, 100);
CreateVehicle(415, -1347.9564, 764.6641, 12.0302, 0.0000, -1, -1, 100);
CreateVehicle(451, -1344.8804, 764.7250, 11.9967, 0.0000, -1, -1, 100);
CreateVehicle(415, -1339.0620, 782.4881, 12.0182, 0.0000, -1, -1, 100);
CreateVehicle(451, -1374.1577, 782.9344, 12.1875, 0.0000, -1, -1, 100);
CreateVehicle(409, -1368.8081, 765.6314, 11.7934, 0.0000, -1, -1, 100);
CreateVehicle(409, -1371.2758, 781.6823, 11.9833, 0.0000, -1, -1, 100);
CreateVehicle(411, -1356.7524, 765.0789, 11.9522, 0.0000, -1, -1, 100);
CreateVehicle(411, -1374.6198, 765.0350, 11.9828, 0.0000, -1, -1, 100);
CreateVehicle(446, -1278.9412, 730.8862, -0.0108, -179.4000, -1, -1, 100);
CreateVehicle(446, -1289.3125, 731.6751, -0.0145, -175.2599, -1, -1, 100);
CreateVehicle(446, -1308.0985, 734.9551, 0.0374, -177.4198, -1, -1, 100);
CreateVehicle(446, -1317.6559, 733.8820, 0.5428, -177.9600, -1, -1, 100);
CreateVehicle(429, -1348.1119, 782.3547, 11.9732, 0.0000, -1, -1, 100);
CreateVehicle(429, -1345.0581, 782.3599, 11.8503, 0.0000, -1, -1, 100);
CreateVehicle(415, -1347.9564, 764.6641, 12.0302, 0.0000, -1, -1, 100);
CreateVehicle(451, -1344.8804, 764.7250, 11.9967, 0.0000, -1, -1, 100);
CreateVehicle(415, -1339.0620, 782.4881, 12.0182, 0.0000, -1, -1, 100);
CreateVehicle(451, -1374.1577, 782.9344, 12.1875, 0.0000, -1, -1, 100);
CreateVehicle(409, -1368.8081, 765.6314, 11.7934, 0.0000, -1, -1, 100);
CreateVehicle(409, -1371.2758, 781.6823, 11.9833, 0.0000, -1, -1, 100);
CreateVehicle(411, -1356.7524, 765.0789, 11.9522, 0.0000, -1, -1, 100);
CreateVehicle(411, -1374.6198, 765.0350, 11.9828, 0.0000, -1, -1, 100);
Thx For Helping me out.
Re: Map Helping. -
aymane123 - 25.11.2016
revive the topic !
Re: Map Helping. -
Pearson - 25.11.2016
Hello.
PHP код:
RemoveBuildingForPlayer(playerid, 4523, -1592.7813, 622.7813, 42.9688, 0.25);
RemoveBuildingForPlayer(playerid, 4524, -1141.7188, 1098.0547, 39.4766, 0.25);
RemoveBuildingForPlayer(playerid, 4527, -1009.5859, 943.8125, 35.4766, 0.25);
Put this code under OnPlayerConnect.
PHP код:
CreateObject(987, -1392.54199, 847.91815, 10.65498, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1380.50940, 847.94324, 10.66952, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1368.37720, 847.79541, 10.74708, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1356.34937, 847.72571, 10.82898, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1344.15564, 847.62927, 10.86281, 0.00000, 0.00000, 0.00000);
CreateObject(987, -1332.26880, 847.36780, 11.06198, 0.00000, 0.00000, -89.34008);
CreateObject(987, -1332.11194, 835.38593, 11.05250, 0.00000, 0.00000, -89.70003);
CreateObject(987, -1332.02014, 823.45404, 11.05968, 0.00000, 0.00000, -90.00002);
CreateObject(14608, -1395.55505, 802.62415, 23.33109, 0.00000, 0.00000, 38.10000);
CreateObject(3876, -1330.72021, 809.53833, 11.05333, 0.00000, 0.00000, -5.52000);
CreateObject(987, -1329.28772, 810.14740, 11.06054, 0.00000, 0.00000, 0.00000);
CreateVehicle(446, -1278.9412, 730.8862, -0.0108, -179.4000, -1, -1, 100);
CreateVehicle(446, -1289.3125, 731.6751, -0.0145, -175.2599, -1, -1, 100);
CreateVehicle(446, -1308.0985, 734.9551, 0.0374, -177.4198, -1, -1, 100);
CreateVehicle(446, -1317.6559, 733.8820, 0.5428, -177.9600, -1, -1, 100);
CreateVehicle(429, -1348.1119, 782.3547, 11.9732, 0.0000, -1, -1, 100);
CreateVehicle(429, -1345.0581, 782.3599, 11.8503, 0.0000, -1, -1, 100);
CreateVehicle(415, -1347.9564, 764.6641, 12.0302, 0.0000, -1, -1, 100);
CreateVehicle(451, -1344.8804, 764.7250, 11.9967, 0.0000, -1, -1, 100);
CreateVehicle(415, -1339.0620, 782.4881, 12.0182, 0.0000, -1, -1, 100);
CreateVehicle(451, -1374.1577, 782.9344, 12.1875, 0.0000, -1, -1, 100);
CreateVehicle(409, -1368.8081, 765.6314, 11.7934, 0.0000, -1, -1, 100);
CreateVehicle(409, -1371.2758, 781.6823, 11.9833, 0.0000, -1, -1, 100);
CreateVehicle(411, -1356.7524, 765.0789, 11.9522, 0.0000, -1, -1, 100);
CreateVehicle(411, -1374.6198, 765.0350, 11.9828, 0.0000, -1, -1, 100);
CreateVehicle(446, -1278.9412, 730.8862, -0.0108, -179.4000, -1, -1, 100);
CreateVehicle(446, -1289.3125, 731.6751, -0.0145, -175.2599, -1, -1, 100);
CreateVehicle(446, -1308.0985, 734.9551, 0.0374, -177.4198, -1, -1, 100);
CreateVehicle(446, -1317.6559, 733.8820, 0.5428, -177.9600, -1, -1, 100);
CreateVehicle(429, -1348.1119, 782.3547, 11.9732, 0.0000, -1, -1, 100);
CreateVehicle(429, -1345.0581, 782.3599, 11.8503, 0.0000, -1, -1, 100);
CreateVehicle(415, -1347.9564, 764.6641, 12.0302, 0.0000, -1, -1, 100);
CreateVehicle(451, -1344.8804, 764.7250, 11.9967, 0.0000, -1, -1, 100);
CreateVehicle(415, -1339.0620, 782.4881, 12.0182, 0.0000, -1, -1, 100);
CreateVehicle(451, -1374.1577, 782.9344, 12.1875, 0.0000, -1, -1, 100);
CreateVehicle(409, -1368.8081, 765.6314, 11.7934, 0.0000, -1, -1, 100);
CreateVehicle(409, -1371.2758, 781.6823, 11.9833, 0.0000, -1, -1, 100);
CreateVehicle(411, -1356.7524, 765.0789, 11.9522, 0.0000, -1, -1, 100);
CreateVehicle(411, -1374.6198, 765.0350, 11.9828, 0.0000, -1, -1, 100);
And this code under ongamemodeinit.
Re: Map Helping. -
aymane123 - 25.11.2016
Bro that is the problem i am noob even i dont know where to write
OnGameModeInItcan u make it up for me ??
Re: Map Helping. -
Pearson - 25.11.2016
Maybe ongamemodeinit is arleday created.
Re: Map Helping. -
aymane123 - 25.11.2016
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
Where exactlly ?? Forgive me i am noob