pawn Код:
//on top of your script
forward GroveVehicle(vehicleid);
//somewhere else, outside other callbacks
public GroveVehicle(vehicleid)
{
for(new i=0; i<CARS_NUMBER; i++)
if(CarCheck == Cars[Grove][i])
return 1;
return 0;
}
Because you deleted the rest of the code, i can't and i don't want to provide further help. It's all about helping others, not getting your problem fixed and deleting all the resources... You're lucky I was able to recover the original script, this way it's easier to understand what I said in my first post.