SA-MP Forums Archive
[Help] How to.... - 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)
+--- Thread: [Help] How to.... (/showthread.php?tid=500951)



[Help] How to.... - FaveladoBR - 15.03.2014



I wanted a code base that circumvents these buttons for example, and then redirect to that CameraPos, and leave in a timer of 1 minute, showing 12 TextDraw, and if nothing is done in 1 minute, the player will be kicked?

pawn Код:
/ / Op2 ---------- ----------
SetPlayerCameraPos (playerid, 2112.55, 1906.41, 16.79);
SetPlayerCameraLookAt (playerid, 2106.55, 1906.53, 16.99);
/ / -----------------------------------
A basic doubt, I need to set the position of the player to display a location well away from the player?

I do not want code ready, I want a base, because the logic is not coming.

Sorry my bad english.


Re: [Help] How to.... - MP2 - 16.03.2014

Set TogglePlayerSpectating to true to hide the buttons. Then you can show a camera and textdraws etc. Then set a timer to kick a player after so long (if they don't what? Click a TD or something? You didn't say.).