opening doors - 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: opening doors (
/showthread.php?tid=253971)
opening doors -
marrcko - 08.05.2011
Hi,
I want to make car doors opening/closing, but SetVehicleParamsEx just lock them
pawn Код:
GetVehicleParamsEx(sunk, engine, lights, alarm, doors, bonnet, boot, objective);
if (doors)
{
SetVehicleParamsEx(sunk,engine, lights,alarm,VEHICLE_PARAMS_OFF, bonnet, boot, objective);
return 1;
}
SetVehicleParamsEx(sunk,engine, lights,alarm,VEHICLE_PARAMS_ON, bonnet, boot, objective);
return 1;
}
So how I can do it? Or I can't?
BTW: why GM crash if I put GameTextForPlayer in timer?
Re: opening doors -
MadeMan - 08.05.2011
No, you can't open/close doors with script.
Re: opening doors -
Combrad - 08.05.2011
You can't?
Re: opening doors -
marrcko - 09.05.2011
d*mn it..
So what about crash?
P.S. What is the best way to optimise GM?