08.01.2012, 15:02
I've got a bit of code on OnVehicleSpawn that is not working on vehicles I spawn using AddStaticVehicle, every other vehicle spawned (/spawnvehicle, CreateVehicle, ect) is working correctly and calls the callback, but AddStaticVehicle refuses to. Has anyone else noticed this?
pawn Код:
public OnVehicleSpawn(vehicleid)
{
SetVehicleParamsEx(vehicleid, 0, 0, 0, 0, 0, 0, 0);
return 1;
}