Screen black - 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: Screen black (
/showthread.php?tid=258847)
Screen black -
cloudysky - 01.06.2011
Hi there does anyone know how i can make the players screen go black for 5 seconds when they do /hide?
Re: Screen black -
Ernests - 01.06.2011
I think you can't! I guess there are any weather who maybe can help you...
sorry for my bad english.
Re: Screen black -
Biesmen - 01.06.2011
Quote:
Originally Posted by Ernests
I think you can't! I guess there are any weather who maybe can help you...
sorry for my bad english.
|
Set a textdraw, use the box tool, make it as big as you screen with the black color and done.
Re: Screen black -
cloudysky - 01.06.2011
Quote:
Originally Posted by Biesmen
Set a textdraw, use the box tool, make it as big as you screen with the black color and done.
|
I'm not very good with text draws but I can do the timers, if it isn't too much to ask can someone get the textdraw for me?
Re: Screen black -
Fj0rtizFredde - 01.06.2011
Something like this should work:
pawn Код:
new Text:BlackTD; //On top of your script
//OnGameModeInit:
BlackTD = TextDrawCreate(0.0, 0.0, "_");
TextDrawUseBox(BlackTD, true);
TextDrawColor(BlackTD, 0);
TextDrawBoxColor(BlackTD, 0x00000000);
//In your cmd:
TextDrawShowForPlayer(playerid, BlackTD);