OnVehicleMod not being called... - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnVehicleMod not being called... (
/showthread.php?tid=273229)
OnVehicleMod not being called... -
[WF]Demon - 31.07.2011
I've tried just about everything but no matter what I do it will not call. I put it in every single filterscript and in my gamemode, Still didn't call...
Anyone know why?
Re: OnVehicleMod not being called... -
iPLEOMAX - 31.07.2011
How did you debug that? Did you goto a modshop and install parts or used a command to mod?
In my experience, month ago i guess, When I use cmds to mod, It wouldn't call the function.
Re: OnVehicleMod not being called... -
[WF]Demon - 31.07.2011
Hmm, I use AddVehicleComponent, I'll go check and see if it works in Transfender...
Mmk, Shitty but it works in mod shops, I figured out a way to fix this.
(Putting the way for people who look for this thing later on to see...)
I'm just going to put a custom function for AddVehicleComponent where I need it, Like..
pawn Код:
stock AddCarComponent(blah blah)
{
//blah blah
AddVehicleComponent(blah blah);
return 1;
}