textdraw
#1

i finally made half of my gamemode and i made a textdraw i want to make it with time like

when player join it show textdraw for 10 seconds and then hide

Please Help.
Reply
#2

Hi!

You set the textdraw where you want to show it and then you start a timer (SetTimerEx) for 10 seconds. After the timer is expired you can hide the textdraw.
Try this yourself. If you need help you can feel free to ask.
Reply
#3

add this on onplayerconnect

Код:
SetTimer("Hidetextdraw", 10000, 0);//10seconds
and this public function in your gm

PHP код:
forward HideTextdraw();
public 
HideTextDraw(playerid)
{
TextDrawHideForPlayer(playeridYourtextdraw1);//name of your textdraws
TextDrawHideForPlayer(playeridYourtextdraw2);

Reply
#4

not work
Reply
#5

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
add this on onplayerconnect

Код:
SetTimer("Hidetextdraw", 10000, 0);//10seconds
and this public function in your gm

PHP код:
forward HideTextdraw();
public 
HideTextDraw(playerid)
{
TextDrawHideForPlayer(playeridYourtextdraw1);//name of your textdraws
TextDrawHideForPlayer(playeridYourtextdraw2);

He's right!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)