Quote:
Originally Posted by samtey
Hmm, I even dunno what a trunk is!^^
But why this?
Double opening boot?^^
Try making an extra command!
pawn Код:
CMD:trunkclose(playerid,params[]) { GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,false,objective); SCM(playerid,COLOR_LIGHTRED,"You Have Closed The Trunk!"); return 1; }
Don't forget the variables!
|
Why in living hell would i make a second command for this? I think the script would be more professional if it was done like this. Also, a good helper wouldn't tell anyone to just go the easy way and make that kind of command.
@Vice
https://sampwiki.blast.hk/wiki/SetTimerEx Im going off of that