19.08.2010, 10:38
----------------------------
Hi there I want to make checkpoint but with icon to show on radar with custom icon from game. How can I make it? Here is what I have make for now:
So help me forum. Show me what should I do to change checkpoint icon to something esle
----------------------------
Hi there I want to make checkpoint but with icon to show on radar with custom icon from game. How can I make it? Here is what I have make for now:
Код:
//////////////////////////////////////////////////////////////////////////////// new Float:RandomSteal[34][3] = { {-2796.1057,-55.3174,7.1875}, {-2797.0103,-26.5160,7.1875}, {-2796.5339,88.5663,7.1875}, {-2796.6958,145.3236,7.1875}, {-2797.0916,196.1897,7.1875}, {-2795.9087,209.7742,7.1875}, {-2878.2251,748.2385,30.5517}, {-2876.0122,793.5424,35.6871}, {-2835.7209,880.7059,44.0547}, {-2894.8940,1070.0472,31.7138}, {-2474.3401,1277.6401,25.2782}, {-2435.3274,1304.1149,18.0923}, {-2354.5259,1231.4553,32.1990}, {-2354.8738,1249.7344,28.7757}, {-2379.3530,1285.2240,22.1587}, {-2379.0322,1323.4839,14.9651}, {-2355.8962,1341.7770,11.4607}, {-2242.0396,1058.7000,82.6271}, {-2279.9644,1015.8313,83.9034}, {-2241.9426,939.0745,66.6484}, {-2197.5720,905.3412,73.4899}, {-2128.5261,999.8591,80.0078}, {-2130.1445,769.4933,69.5625}, {-2325.6143,577.7247,30.2155}, {-2637.6333,265.2935,4.3281}, {-2637.6829,245.8941,4.3281}, {-2649.1982,204.5310,4.3359}, {-2675.4189,205.6546,4.3359}, {-2694.4546,127.5808,4.3359}, {-2718.2830,10.9997,4.3359}, {-2717.6670,6.9870,4.3359}, {-2718.5051,-47.8698,4.3359}, {-2694.4019,-99.2629,4.3359}, {-2694.4595,-156.2058,4.3359} }; (This is just what I use for checkpoints. Not the whole code) //----------------------------------------------------------------------------// public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new rand = random(sizeof(RandomSteal)); if(GetPlayerTeam(playerid) == 8) { SetPlayerCheckpoint(playerid,RandomSteal[rand][0],RandomSteal[rand][1],RandomSteal[rand][2], 3.0); } return 1; } //----------------------------------------------------------------------------//
----------------------------