ich wollte /flock für Cops machen aber ich bekomme 3 errors
if(vehLock[vehicleid] == 0) // hier ein Error
{
SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 0);
}
else if(vehLock[vehicleid] == 1)// hier ein Error
{
if(!IsACop(forplayerid))//Error
{
SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
}
}
In jeder Error Zeile das selbe :
error 010: invalid function or declaration
error 010: invalid function or declaration
error 010: invalid function or declaration