TextDraw Help !!
#1

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 ***
Reply
#2

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.
Reply
#3

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

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

UP !!!
Reply
#6

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;
}
Reply
#7

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
Reply
#8

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.
Reply
#9

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

Reply
#10

hey mohammadn ,
Try My Tutorial About TextDraw Sprites:

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


Forum Jump:


Users browsing this thread: 2 Guest(s)