25.07.2015, 12:10
Easy.
Just place a integer variable about 'originalvehicle' into your create vehicle function.When ever you create a vehicle, count it from 0 to MAX_VEHICLES with break.Then use this variable for kicking hackers;
Just place a integer variable about 'originalvehicle' into your create vehicle function.When ever you create a vehicle, count it from 0 to MAX_VEHICLES with break.Then use this variable for kicking hackers;
PHP код:
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}