SA-MP Forums Archive
TextDraw Help !! - 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)
+--- Thread: TextDraw Help !! (/showthread.php?tid=515732)



TextDraw Help !! - M0HAMMAD - 27.05.2014

Hi
I Create A TextDraw But I Don't know the local's and there picture
anybody can help me to finally i Choice a picture(local?:local?)

*** Sorry For Bad English ***


Re: TextDraw Help !! - DiGiTaL_AnGeL - 27.05.2014

Yes, there are a lot of humans that are able to help you. Other questions?

Quote:
Originally Posted by ******
Scripting Help
Provide Details - If you do not get help, please re-evaluate the explanation of the issue you provided, it may not be providing enough information for people to help you.
No Useless Replies - If you are unsure or don't know how to proceed with solving an issue, then do not respond to the thread, it will be considered spam.
Provide Code - People are not psychic, if there's an issue in your code they need to see that code. If you are worried about people stealing it, don't be - its nothing special! If you are unwilling to provide code and want help in private, post here and be prepared to wait a long time and pay a lot of money.
Do Not Post Untested Code - If you are replying to a problem and you haven't confirmed that your code will work, you are likely to make the problem worse, not better.
Script Requests - If you are requesting a script be made for you, rather than help with your coding, post in the Looking for scripters/helpers? Post here! Thread.
Banned Code - There is a certain "#pragma" that can be used to hide significant warnings and produce unreadable code - DO NOT advocate its use if you know what it is; it is TERRIBLE practice and we want to get rid of it.
No Object ID Requests - There are multiple tools available for searching for object IDs - if you can't find them from there, then post in the pinned "Minor Queries" thread, don't start a new thread just for one object ID.
Check Documentation - The SA-MP Wiki, the PAWN Language Guide, and the General Reference Thread contain vast amounts of useful data - check those first.
Do Not Request Private Help - The point of this forum is to ask for help, get help, and share that help. The help is shared by the fact its posted in a thread that other people can search on. Posting you need help, then keeping it private (via Skype or whatever) goes COMPLETELY against the "community" thing that we've established here. If you want help but want to keep it private... then you can ask in private and NOT on these forums.
Read.


Re: TextDraw Help !! - Fredrik - 27.05.2014

Try using this instead?
https://sampforum.blast.hk/showthread.php?tid=376758


Re: TextDraw Help !! - M0HAMMAD - 28.05.2014

Friends I Mean The Loadsc's
Like This : loadsc1:loadsc1
The Background when the player connect to the server show player


Re: TextDraw Help !! - M0HAMMAD - 29.05.2014

UP !!!


Re: TextDraw Help !! - Parallex - 29.05.2014

Mohammed, do you mean;
You have created a Textdraw already and you want to show it to the players in a specific callback such as;
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,loadsc1); // Probably the name is Loadsc1 as you specified before.
return 1;
}



Re: TextDraw Help !! - M0HAMMAD - 30.05.2014

No
when the player connect to the server
he want to enter his password , a background create
***************
1.first i create a new
PHP код:
new Text:test
2.and in OnGameModeInit Create this :
PHP код:
    test TextDrawCreate(0.0000000.000000"loadsc1:loadsc1");
    
TextDrawBackgroundColor(test255);
    
TextDrawFont(test4);
    
TextDrawLetterSize(test0.5000001.000000);
    
TextDrawColor(test, -1);
    
TextDrawSetOutline(test0);
    
TextDrawSetProportional(test1);
    
TextDrawSetShadow(test1);
    
TextDrawUseBox(test1);
    
TextDrawBoxColor(test255);
    
TextDrawTextSize(test640.000000480.000000);
    
TextDrawSetSelectable(test0); 
i hope you get what i say


Re: TextDraw Help !! - iFiras - 30.05.2014

M0HAMMAD, you mean that you want a background textdraw to appear when the player connects? Not else?
If yes, then open textdraw editor and create a big box which covers all the screen, then export the .pwn and done.


Re: TextDraw Help !! - Lacamora - 30.05.2014

PHP код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,test);
return 
1;




Re: TextDraw Help !! - amirab - 30.05.2014

hey mohammadn ,
Try My Tutorial About TextDraw Sprites:

https://sampforum.blast.hk/showthread.php?pid=2866505#pid2866505