Need help with team vehicle system
#1

So i trying to make a team restricted system but the issue is how can i check if the player enters the vehicle without have to checking each team car because most the tutorials i see they want you to check every single vehicle hence leading to me doing unecessary work.. Now how can i check is the player enter a scar they will be kicked if thats not there team without have to keep on repeating codes

PHP код:
new scar[20];
//the vehicles
    
scar[0] = CreateVehicle(4702159.5352, -2279.865513.1922222.9741141141100);
    
scar[1] = CreateVehicle(4702166.4790, -2273.044913.1922224.5838141141100);
     
scar[2] = CreateVehicle(4702174.0854, -2265.693613.1922224.5838141141100);
    
scar[3] = CreateVehicle(4702237.4893, -2247.791713.297845.3764141141100);
    
scar[4] = CreateVehicle(4702229.9790, -2255.578413.297845.3764141141100);
    
scar[5] = CreateVehicle(4702222.5234, -2263.200213.297845.3764141141100);
    
scar[6] = CreateVehicle(4702215.3928, -2270.164313.297845.3764141141100);
    
scar[7] = CreateVehicle(4702207.9883, -2277.562713.297845.3764141141100);
    
scar[8] = CreateVehicle(4902196.7639, -2291.212913.661615.1807141141100);
    
scar[9] = CreateVehicle(4902193.0151, -2295.070813.661615.1807141141100);
    
scar[10] = CreateVehicle(4472176.6189, -2317.964413.6553316.7903141141100);
    
scar[11] = CreateVehicle(4472161.3711, -2322.825413.6553316.7903141141100);
    
scar[12] = CreateVehicle(4902189.3809, -2298.630113.661615.1807141141100);
    
scar[13] = CreateVehicle(4272209.8640, -2214.168713.5594222.1982141141100);
    
scar[14] = CreateVehicle(4272203.3384, -2220.550013.5594222.7510141141100);
    
scar[15] = CreateVehicle(4972173.8083, -2331.870413.7229316.2585,141,141100); // solmav 1
    
scar[16] = CreateVehicle(4972245.7532, -2235.898213.723746.3665,141,141100); // solmav 2
    
scar[17] = CreateVehicle(5992185.7170, -2302.830813.737914.6924,141,141100); // solran 1
    
scar[18] = CreateVehicle(5992182.4343, -2306.825213.73968.7646,141,141100); // solran 2
    
scar[19] = CreateVehicle(5992193.9944, -2310.353514.3117133.8432,141,141100); // solran 3
    
scar[20] = CreateVehicle(5992153.3682, -2289.016113.5583222.1449,141,141100); // solran 4 
Reply


Messages In This Thread
Need help with team vehicle system - by 1fret - 22.03.2017, 19:02
Re: Need help with team vehicle system - by LEOTorres - 22.03.2017, 20:27
Re: Need help with team vehicle system - by JesterlJoker - 23.03.2017, 01:05

Forum Jump:


Users browsing this thread: 1 Guest(s)