02.01.2011, 21:06
(
Последний раз редактировалось Tomejus; 02.01.2011 в 22:08.
)
hello everybody,
I have a problem with cars respawn. I have function which create's car dealership example's. You cannot enter that vehicle it's example, everything is okey. But if someone change that cars position (with other car example) that car not respawns, i using Ex function but it's not work at all for me. The variable example is for checking in enterveh callback. And I load ExampleC stock' OnGameModeInit callback. Also try'd use CreateVehicle instead of AddStaticVehicleEx f-ion but result is the same : /
It's mine codes:
I need if someone change that car's position car respawn at the these cordinates. Thank you.
I have a problem with cars respawn. I have function which create's car dealership example's. You cannot enter that vehicle it's example, everything is okey. But if someone change that cars position (with other car example) that car not respawns, i using Ex function but it's not work at all for me. The variable example is for checking in enterveh callback. And I load ExampleC stock' OnGameModeInit callback. Also try'd use CreateVehicle instead of AddStaticVehicleEx f-ion but result is the same : /
It's mine codes:
Код:
stock ExampleC() { //wangsai. VehicleC(551, -1945.7964,272.2106,35.1793,58.7047,1,1,10); // Merit VehicleC(558, -1945.9203,267.5045,35.2105,50.9332,1,1,10); // Uranus VehicleC(561, -1946.8967,263.2580,35.1208,46.5475,1,1,10); // Stratum VehicleC(566, -1946.8785,258.1750,35.1501,42.1995,1,1,10); // Tahoma VehicleC(579, -1960.4580,257.7739,35.2442,39.3801,1,1,10); // Huntley VehicleC(585, -1960.3685,270.6651,35.1270,37.3340,1,1,10); // Emperor VehicleC(603, -1960.6195,284.1757,35.1756,32.3297,1,1,10); // Phoneix VehicleC(602, -1960.3928,299.4609,35.2245,36.5839,1,1,10); // Alpha VehicleC(533,-1946.4895,270.2601,40.8822,309.2697,1,1,10); // Feltzer VehicleC(410,-1945.5555,259.3605,40.6994,315.7197,1,1,10); // manana //ottos. VehicleC(451,-1667.0627,1215.8357,6.9596,255.7660,1,1,10); // turismo example VehicleC(560,-1655.9633,1215.1008,6.9545,264.7334,1,1,10); // sultan example VehicleC(402,-1668.6354,1207.7463,7.0862,306.0945,1,1,10); // buffalo example VehicleC(562,-1647.8978,1208.4910,13.3308,259.0096,1,1,10); // elegy example VehicleC(429,-1670.0848,1205.6218,13.3515,305.4404,1,1,10); // banshee example VehicleC(411,-1658.7148,1219.1353,13.4008,267.1766,1,1,10); // example infernuso VehicleC(541,-1659.9330,1219.5875,20.7812,264.5567,1,1,10); // bullletas example } stock VehicleC(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay) { new vehicleid = AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay); vehicleDB[vehicleid][example] = true; }