a question
#1

How do i get in the bottom of my screen when i am in sa:mp text like left bottom and there stands something (text)
Can someone help me?
Reply
#2

Search for TextDraw
Reply
#3

Mhh i'm in my server and i didn't show text here a screenie: http://i39.tinypic.com/2gvu4uw.jpg

this code i have in my script. it compiled without errors/warnings

Код:
stunt = TextDrawCreate(380, 444, "Stunt 'N Fun Server");
TextDrawAlignment(stunt, 1);
TextDrawFont(stunt, 3);
TextDrawLetterSize(stunt, 5, 1);
TextDrawColor(stunt, 0xF6F6F6AA);
Reply
#4

you should add by OnPlayerConnect:
Код:
TextDrawShowForPlayer(playerid,IDofyourtextdraw);
Reply
#5

Does it keep in ur screen then? the text all time you play
Reply
#6

yes, and if you want it destroyed use this command:

Код:
 	if (strcmp(cmdtext, "/close", true)==0)
 	{
 	  TextDrawDestroy(yourtextdrawID);
	}
Reply
#7

1 question left :S where i find the text id? (soory if this is a dumb question)
Reply
#8

Код:
stunt = TextDrawCreate(380, 444, "Stunt 'N Fun Server");
'stunt' is the id in this case
Reply
#9

Код:
error 021: symbol already defined: "TextDrawShowForPlayer"
what i do? :S
Reply
#10

anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)