|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Jun 2010
Posts: 84
Reputation: 0
|
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? |
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2007
Posts: 1,166
Reputation: 84
|
This section is for people to help others to script.
If you want someone to make something for you, see http://forum.sa-mp.com/showthread.php?t=118885 |
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Jun 2010
Posts: 84
Reputation: 0
|
that's for much larger scripts this is a simple script. I'm aware of that thread. Help anyone?
|
|
|
|
|
#4 |
|
Big Clucker
![]() ![]() Join Date: Jun 2010
Posts: 84
Reputation: 0
|
bump bump bump bump bump
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2010
Posts: 2,153
Reputation: 202
|
stop bumping
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2010
Location: Black Asylum
Posts: 2,402
Reputation: 215
|
dud ejust make a freakin timer
|
|
|
|
|
#7 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Posts: 1,163
Reputation: 2
|
Code:
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;
}
Code:
forward ShowTextDraw(playerid,tid);
public ShowTextDraw(playerid,tid)
{
TextDrawShowForPlayer(playerid,Text:tid);
return 1;
}
|
|
|
| Thread Tools | |
| Display Modes | |
|
|