need help with an idea but im not sure how to do it :(, plz help :S - 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: need help with an idea but im not sure how to do it :(, plz help :S (
/showthread.php?tid=81875)
need help with an idea but im not sure how to do it :(, plz help :S -
meegan1 - 14.06.2009
hi again i need to know if theres a way to make a textdraw appear and then like when the type a command it goes away plz help or tell me how to do it so after 5 secconds it goes away, plz help.
meegan1.
Re: need help with an idea but im not sure how to do it :(, plz help :S -
Correlli - 14.06.2009
Use TextDrawHideForPlayer in command if you want to use it in command or in SetTimer/SetTimerEx if you want it in timer.
Re: need help with an idea but im not sure how to do it :(, plz help :S -
meegan1 - 14.06.2009
Quote:
Originally Posted by Don Correlli
Use TextDrawHideForPlayer in command if you want to use it in command or in SetTimer/SetTimerEx if you want it in timer.
|
k thnx don how would i make it so for a cmd it appears or how could i make it so when some1 joins the server it apears?
and also could you give me an example of using that TextDrawHideForPlayer in a cmd plz
Re: need help with an idea but im not sure how to do it :(, plz help :S -
Correlli - 14.06.2009
Quote:
Originally Posted by meegan1
Quote:
Originally Posted by Don Correlli
Use TextDrawHideForPlayer in command if you want to use it in command or in SetTimer/SetTimerEx if you want it in timer.
|
k thnx don how would i make it so for a cmd it appears or how could i make it so when some1 joins the server it apears?
and also could you give me an example of using that TextDrawHideForPlayer in a cmd plz
|
First you need to create a text draw in OnGameModeInit with
TextDrawCreate. Then you can show it with
TextDrawShowForPlayer/
TextDrawShowForAll.
You can hide it with
TextDrawHideForPlayer/
TextDrawHideForAll.
To set a text on a text draw, use
TextDrawSetString. You can destroy it with
TextDrawDestroy.
To show it when someone joins the server then use it in OnPlayerConnect and hide it in OnPlayerDisconnect when he leaves the server.
Re: need help with an idea but im not sure how to do it :(, plz help :S -
meegan1 - 14.06.2009
do you know any scripts with anything like tht in it?
Re: need help with an idea but im not sure how to do it :(, plz help :S -
Correlli - 14.06.2009
Try this TextDraw Editor, it's very good:
http://forum.sa-mp.com/index.php?topic=29132.0
Re: need help with an idea but im not sure how to do it :(, plz help :S -
meegan1 - 14.06.2009
Quote:
Originally Posted by Don Correlli
|
do u hve msn? cause i need to talk to you about it cause its not working right
Re: need help with an idea but im not sure how to do it :(, plz help :S -
Correlli - 14.06.2009
Quote:
Originally Posted by meegan1
do u hve msn? cause i need to talk to you about it cause its not working right
|
Then ask in that topic, don't ask me, i'm not the creator of the Editor.
Re: need help with an idea but im not sure how to do it :(, plz help :S -
meegan1 - 15.06.2009
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by meegan1
do u hve msn? cause i need to talk to you about it cause its not working right
|
Then ask in that topic, don't ask me, i'm not the creator of the Editor.
|
its allright now its working thanks alot