SA-MP Forums Archive
[Problem] OnVehicleSpawn / Death - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Problem] OnVehicleSpawn / Death (/showthread.php?tid=340994)



[Problem] OnVehicleSpawn / Death - rAzvAn18 - 09.05.2012

At the function OnVehicleSpawn or Death a have This :

Код:
public OnVehicleSpawn(vehicleid)
{
        LinkVehicleToInterior(vehicleid, 0);
	SetVehicleVirtualWorld(vehicleid, 0);
        return 1;
}
But after car id 264 has no effect .

What is the problem ? It's working only for 264 cars and I have 500 cars

At OngameModeInt All it's working fine but at tihs functions "OnVehicleSpawn" and "OnVehicleDeath" doesn't work

I use CreateVehicle and i Tried also AddStaticVehicleEx but still not working.