Function Help
#1

Can someone make me a custom function like this?

TextDrawHideForPlayerEx(playerid, TextDrawID, Time);

parameters
playerid- the id of the player
TextDrawID- the id of the textdraw
Time- time in miliseconds

Let's say there's a textdraw called "Text:WelcomeMessage" and I want to hide it in 5 seconds I would do

TextDrawHideForPlayerEx(playerid, Text:WelcomeMessage, 5000);


Please?
Reply
#2

This section is for people to help others to script.

If you want someone to make something for you, see https://sampforum.blast.hk/showthread.php?tid=118885
Reply
#3

that's for much larger scripts this is a simple script. I'm aware of that thread. Help anyone?
Reply
#4

bump bump bump bump bump
Reply
#5

stop bumping
Reply
#6

dud ejust make a freakin timer
Reply
#7

Код:
forward TextDrawHideForPlayerEx(playerid, tid, Time);

public TextDrawHideForPlayerEx(playerid, tid, Time)
{
	TextDrawHideForPlayer(playerid,Text:tid);
	new timer = SetTimerEx("ShowTextDraw",Time,0,"ii",playerid,tid);
	return 1;
}
Код:
forward ShowTextDraw(playerid,tid);

public ShowTextDraw(playerid,tid)
{
	TextDrawShowForPlayer(playerid,Text:tid);
	return 1;
}
I understand that this code isn't tested but it is just an idea, it might tick some brains.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)