SA-MP Forums Archive
TextDraw [REP ++] - 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: TextDraw [REP ++] (/showthread.php?tid=429361)



TextDraw [REP ++] - ScripteRMKD - 09.04.2013

Hi All.I need help with the Textdraw << >> Spawn. How to remove that textdraw ? Example: When player goes to tutorial and << >> Spawn showing but i have tutorial system with Cameras Timers and others and now when player press Spawn he going to the Questions ? How to remove It PLease Help REPing ++


Re: TextDraw [REP ++] - Riddick94 - 09.04.2013

Put player into spectacting mode or return false in OnPlayerRequestSpawn (while player is watching tutorial).


Re: TextDraw [REP ++] - ScripteRMKD - 09.04.2013

How to put to player spectating ?


Re: TextDraw [REP ++] - Riddick94 - 09.04.2013

https://sampwiki.blast.hk/wiki/TogglePlayerSpectating


Re: TextDraw [REP ++] - ScripteRMKD - 09.04.2013

Not Working :/ OnPlayerRequestClass i put TogglePlayerSpectating(playerid, 1); and don't showing cameras show me message only Connected to ....


Re: TextDraw [REP ++] - Riddick94 - 09.04.2013

Put TogglePlayerSpectating in OnPlayerConnect callback on the top, then start player a tutorial and when tutorial finishes remove player from Spectating mode and force player a class selection. However you can try y_classes, much easier and accurate to use (I mean Class_DenySelection and other functionality).


Re: TextDraw [REP ++] - ScripteRMKD - 09.04.2013

Ok now going to test it .. I put TogglePlayerSpectating(playerid, 1); on OnPlayerConnect but on OnPlayerSpawn put TogglePlayerSpectating(playerid, 0); Yes ?


Re: TextDraw [REP ++] - Configuration - 09.04.2013

OnplayerSpwan

TextDrawHideForPlayer(playerid, your textdaraw name);


Re: TextDraw [REP ++] - ScripteRMKD - 09.04.2013

OMG ARE YOU RETARDED BOT ?! THAT IS GTA TEXTDRAW NOT MY BOOOOIT !


Re: TextDraw [REP ++] - Riddick94 - 09.04.2013

Quote:
Originally Posted by Configuration
Посмотреть сообщение
OnplayerSpwan
TextDrawHideForPlayer(playerid, your textdaraw name);
Quote:
Originally Posted by ScripteRMKD
Посмотреть сообщение
OMG ARE YOU RETARDED BOT ?! THAT IS GTA TEXTDRAW NOT MY BOOOOIT !
?

Quote:
Originally Posted by ScripteRMKD
Посмотреть сообщение
Riddick if you want to help me bro ?
TogglePlayerSpectating(playerid, true); - top of your OnPlayerConnect callback. When player finish his tutorial, then set his spectating mode to false, no OnPlayerSpawn, how you're checking that player watched whole tutorial, are you counting it by variable or what?