21.10.2016, 16:43
Hi guys, now me i work for a gamemode on MySQL and zcmd.
I created the job vehicle with "AddStaticVehicleEx, but i want when a car is taken from one job another few seconds to appear another job car.
The server is RPG.
And i found here a video, with how i want to make.
Video: https://www.youtube.com/watch?v=_Efn...ature=*********
AND THIS MY SCRIPT FOR TRUCK JOB:
// TRUCK
truck[1] = AddStaticVehicleEx(515,2428.4756,-2076.1519,14.5620,178.3518,43,-1,60);
truck[2] = AddStaticVehicleEx(515,2458.4954,-2077.6685,14.5670,180.5395,222,-1,60);
truck[3] = AddStaticVehicleEx(515,2468.8547,-2077.8386,14.5711,180.0827,124,-1,60);
truck[4] = AddStaticVehicleEx(515,2523.4377,-2073.3206,14.5665,177.8641,234,-1,60);
truck[5] = AddStaticVehicleEx(515,2521.7942,-2116.4023,14.5666,0.6183,252,-1,60);
truck[6] = AddStaticVehicleEx(515,2515.1521,-2116.4482,14.5664,0.1750,53,-1,60);
truck[7] = AddStaticVehicleEx(515,2502.2883,-2116.5864,14.5597,357.7580,6,-1,60);
truck[8] = AddStaticVehicleEx(515,2490.9846,-2116.6104,14.5612,359.7795,3,-1,60);
truck[9] = AddStaticVehicleEx(515,2496.7874,-2116.5796,14.5638,357.4361,6,-1,60);
truck[10] = AddStaticVehicleEx(515,2477.9758,-2116.5818,14.5604,358.7481,113,-1,60);
truck[11] = AddStaticVehicleEx(515,2472.2312,-2116.6016,14.5735,359.1072,222,-1,60);
truck[12] = AddStaticVehicleEx(515,2467.5037,-2116.6213,14.5665,359.7959,226,-1,60);
truck[13] = AddStaticVehicleEx(515,1394.7047,-2347.4336,14.5640,0.1197,252,-1,60);
truck[14] = AddStaticVehicleEx(515,1401.4509,-2347.3831,14.5668,359.2097,229,-1,60);
truck[15] = AddStaticVehicleEx(515,1408.0065,-2347.1047,14.5726,359.9834,40,-1,60);
truck[16] = AddStaticVehicleEx(515,2778.3220,2570.6011,11.7854 ,45.3040,42,-1,60);
truck[17] = AddStaticVehicleEx(515,2784.8677,2577.0254,11.7911 ,44.7744,78,-1,60);
truck[18] = AddStaticVehicleEx(515,2805.1616,2596.3269,11.7714 ,43.8595,123,-1,60);
Now i want this truck when one is taken to respawn another one like in video.
Thaks!
I created the job vehicle with "AddStaticVehicleEx, but i want when a car is taken from one job another few seconds to appear another job car.
The server is RPG.
And i found here a video, with how i want to make.
Video: https://www.youtube.com/watch?v=_Efn...ature=*********
AND THIS MY SCRIPT FOR TRUCK JOB:
// TRUCK
truck[1] = AddStaticVehicleEx(515,2428.4756,-2076.1519,14.5620,178.3518,43,-1,60);
truck[2] = AddStaticVehicleEx(515,2458.4954,-2077.6685,14.5670,180.5395,222,-1,60);
truck[3] = AddStaticVehicleEx(515,2468.8547,-2077.8386,14.5711,180.0827,124,-1,60);
truck[4] = AddStaticVehicleEx(515,2523.4377,-2073.3206,14.5665,177.8641,234,-1,60);
truck[5] = AddStaticVehicleEx(515,2521.7942,-2116.4023,14.5666,0.6183,252,-1,60);
truck[6] = AddStaticVehicleEx(515,2515.1521,-2116.4482,14.5664,0.1750,53,-1,60);
truck[7] = AddStaticVehicleEx(515,2502.2883,-2116.5864,14.5597,357.7580,6,-1,60);
truck[8] = AddStaticVehicleEx(515,2490.9846,-2116.6104,14.5612,359.7795,3,-1,60);
truck[9] = AddStaticVehicleEx(515,2496.7874,-2116.5796,14.5638,357.4361,6,-1,60);
truck[10] = AddStaticVehicleEx(515,2477.9758,-2116.5818,14.5604,358.7481,113,-1,60);
truck[11] = AddStaticVehicleEx(515,2472.2312,-2116.6016,14.5735,359.1072,222,-1,60);
truck[12] = AddStaticVehicleEx(515,2467.5037,-2116.6213,14.5665,359.7959,226,-1,60);
truck[13] = AddStaticVehicleEx(515,1394.7047,-2347.4336,14.5640,0.1197,252,-1,60);
truck[14] = AddStaticVehicleEx(515,1401.4509,-2347.3831,14.5668,359.2097,229,-1,60);
truck[15] = AddStaticVehicleEx(515,1408.0065,-2347.1047,14.5726,359.9834,40,-1,60);
truck[16] = AddStaticVehicleEx(515,2778.3220,2570.6011,11.7854 ,45.3040,42,-1,60);
truck[17] = AddStaticVehicleEx(515,2784.8677,2577.0254,11.7911 ,44.7744,78,-1,60);
truck[18] = AddStaticVehicleEx(515,2805.1616,2596.3269,11.7714 ,43.8595,123,-1,60);
Now i want this truck when one is taken to respawn another one like in video.
Thaks!