Screen black
#1

Hi there does anyone know how i can make the players screen go black for 5 seconds when they do /hide?
Reply
#2

I think you can't! I guess there are any weather who maybe can help you...

sorry for my bad english.
Reply
#3

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.
Reply
#4

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?
Reply
#5

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);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)