16.08.2018, 05:29
Hi, I got a problem with this system, still locked even tho I already set it to unlocked when car respawned.
PHP Code:
if(strcmp(Vehicles[vehicleid][carowner],"NoBodY", false, 6) || Vehicles[vehicleid][carteam] != NO_TEAM_CAR)
{
UnlockVehicle(Vehicles[vehicleid][vrID]);
}
else
{
LockVehicle(-1,Vehicles[vehicleid][vrID]);
}