Author Topic: [Request] onPlayerMount Event  (Read 390 times)

Tired of whenever you are in a minigame, you spawn a vehicle and leave it parked in one spot, and some person Steals it?
Well, if this is created, this could be the event for you.

One example of usage (With the old variables mod, because i dont know a thing about the new Var mod)

onPlayerMountVehicle > self > IfPlayerID Equals 8385
VariableFalse > Player > Dismount
VariableFalse > Client > CenterPrint > This vehicle is protected

why can't you use existing events? vehicle events have onvehicleenter, so with variables you can have
onvehicleenter>self>vce_ifvalue[<var:cl:bl_id>][==][6887][1 2]
onvariablefalse>player>dismount
onvariablefalse>client>bottomprint[<color:ffffff>This vehicle is locked.]

Because onVehicleEnter is broken :S