Latest News textdraw (Very Very Urgent)
#1

Hey guys. How do you add a latest news textdraw, because I can't seem to find any on samp forums. What I mean, when someone connects a textdraw box comes on their screen and says all the latest news that you add. If you know, please post it below! Thanks
Reply
#2

Configure a textdraw under OnGameModeInit (A lot of useful tools that can help you with this, just search.).
Then under OnPlayerConnect you use;

pawn Код:
TextDrawShowForPlayer(playerid, Text:text)
This will show it when a player connects. You can make a timer or something to only let it show for a few seconds.
Reply
#3

Is there any decent textdraw editors which you can make decent textdraws
Reply
#4

How the hell is this 'urgent'? I refuse to help people who have stupid topic titles.
Reply
#5

Quote:
Originally Posted by MP2
Посмотреть сообщение
How the hell is this 'urgent'? I refuse to help people who have stupid topic titles.
Why don't you keep your mouth shut. I added urgent to the title because I had to go. And now I'm back. So next time, don't post stupid things without thinking.

Now, does anyone have a decent textdraw editor? Thanks
Reply
#6

Zamaroht is good enough. It lets you do it all in game and also lets you pick if you want to export it as a filterscipt or a part of gamemode.
HERE
Reply
#7

Quote:
Originally Posted by batonsa
Посмотреть сообщение
Zamaroht is good enough. It lets you do it all in game and also lets you pick if you want to export it as a filterscipt or a part of gamemode.
HERE
Thanks man, you're the only one who bothered to help me. You can have a REP!
Reply
#8

I don't get how you move the box or get the code? plz help
Reply
#9

Quote:
Originally Posted by Goldino
Посмотреть сообщение
I don't get how you move the box or get the code? plz help
Arrow keys and practice.

By the way, don't make your topic titles like this one. You being in a rush doesn't make this an urgent topic- it just makes you arrogant enough to think that you're topic is way more important than the others out there.

I agree with MP2 here.
Reply
#10

I made a new textdraw, and this came up in the scriptfiles for my textdraw.

Код:
TDFile=yes
0T_Created=1
0T_Text=Latest news
0T_X=510.000000
0T_Y=101.000000
0T_UseBox=1
0T_TextSizeX=582.000000
0T_TextSizeY=401.000000
0T_Outline=0
0T_Color=-1
0T_BackColor=255
0T_BoxColor=255
0T_Font=3
0T_XSize=0.629999
0T_YSize=1.000000
0T_Selectable=0
Then in compiler this comes up?

Код:
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(232) : error 029: invalid expression, assumed zero
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(232) : error 017: undefined symbol "T_Created"
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(232 -- 233) : warning 215: expression has no effect
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(233) : error 001: expected token: ";", but found "0"
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(233) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
What kind of TD editor is this?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)