Make Stock
#1

Good, I need to create a stock to detect me if the user is in the vehicle, I did this but it does not work for me.

Код:
stock Vehicle_ID(playerid)
{
    new VehicleGetID = GetPlayerVehicleID(playerid);
    return VehicleGetID ;
}

stock Trucker(playerid)
{
     for (new t = 0; t <sizeof (Vehicle_Trucker); t ++)
     {
          if (Vehicle_ID (playerid) == Vehicle_Trucker[t]) return 1;
          break;
      }
      return 0;
}
Reply


Messages In This Thread
Make Stock - by zZzTGTzZz - 03.01.2019, 22:05
Re: Make Stock - by BlackBank - 03.01.2019, 22:17
Re: Make Stock - by zZzTGTzZz - 04.01.2019, 04:34
Re: Make Stock - by GRiMMREAPER - 04.01.2019, 08:45
Re: Make Stock - by CherryMond - 04.01.2019, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)