Quote:
Originally Posted by Virtual1ty
Add this to the top of OnVehicleSpawn:
PHP код:
public OnVehicleSpawn(vehicleid)
{
if (vehicleid < 0 || vehicleid == INVALID_VEHICLE_ID) return 1;
// Rest of code
return 1;
}
And make sure all "vehicleid" variables(eg. "TruckPackages", "PlayerInfo[i][ pVeh]") are initialised as MAX_VEHICLES in size.
|
Can you make me the code please?