SA-MP Forums Archive
/exit & /enter (with a vehicle) and TogglePlayerClock ? - 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: /exit & /enter (with a vehicle) and TogglePlayerClock ? (/showthread.php?tid=184010)



/exit & /enter (with a vehicle) and TogglePlayerClock ? - Myk3l - 17.10.2010

Hello,

I've two comands for enter and exit a garage with any vehicle. But, i teleport the vehicle in an interior.
My command /enter work perfectly but when i type /exit, i'm teleport but the vehicle appears transparent ...
Why ?

Second answer : How to disable the clock with TogglePlayerClock ?

Thanks and Bye


Re: /exit & /enter (with a vehicle) and TogglePlayerClock ? - Black_Sun1 - 17.10.2010

if you're in a vehicle already then you should make it open with pressing the "H" key(horn)


Re: /exit & /enter (with a vehicle) and TogglePlayerClock ? - [HiC]TheKiller - 17.10.2010

1. Use LinkVehicleToInterior and attach it to 0.
2.
pawn Код:
TogglePlayerClock(playerid, 0);
On OnPlayerConnect.