how to define a vehicle
#2

PHP код:
for(new x;x<sizeof(RentVehicle);x++)
    {
RentVehicle[x//your codes with it.
    

PHP код:
IsRentVehicle(carid)
{
    for(new 
0sizeof(RentVehicle); v++)
    {
        if(
carid == RentVehicle[v]) return 1;
    }
    return 
0;

You just need to code something like this, to define all RentVehicle at once

After that , OnPlayerEnterVehicle :
PHP код:
(use "else" if there many already given )if(RentVehicle(vehicleid))
        {
//your codes 
            
        

Reply


Messages In This Thread
how to define a vehicle - by AndreiWow - 18.01.2016, 03:49
Re: how to define a vehicle - by SoFahim - 18.01.2016, 04:00
Re: how to define a vehicle - by AndreiWow - 18.01.2016, 04:14

Forum Jump:


Users browsing this thread: 1 Guest(s)