03.01.2019, 22:05
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; }