#1

i wanna add text under the Ingame map,
showing my game forums....

Code, please?
STRCMP.
Reply
#2

you mean a textdraw right?
Reply
#3

yes.. a textdraw.
Reply
#4

ok well take my advice, textdraws are really easy

use this textdraw creator to create your textdraw and position it ingame (instructions are on the page)

http://forum.sa-mp.com/showthread.ph...extdraw+editor

then once created
under OnGameModeInit
Textdraw0 = TextDrawCreate(.... etc etc
//rest of code here

and under OnPlayerConnect
TextDrawShowForPlayer

and under ongamemodeexit
TextDrawDestroy

i'm sure you get it it's pretty much self explanitory but if you need more help just post here

p.s. almost forget textdraws don't use strcmp unless of course you are toggling them then maybe it can...

https://sampwiki.blast.hk/wiki/TextDrawCreate
Reply
#5

you can do it online with this tool : https://sampforum.blast.hk/showthread.php?tid=254315
Reply
#6

online is good but ingame is better and more accurate in my opinion + you can actually see it on your gamemode
Reply
#7

Quote:
Originally Posted by Mozz
Посмотреть сообщение
ok well take my advice, textdraws are really easy

use this textdraw creator to create your textdraw and position it ingame (instructions are on the page)

http://forum.sa-mp.com/showthread.ph...extdraw+editor

then once created
under OnGameModeInit
Textdraw0 = TextDrawCreate(.... etc etc
//rest of code here

and under OnPlayerConnect
TextDrawShowForPlayer


and under ongamemodeexit
TextDrawDestroy

i'm sure you get it it's pretty much self explanitory but if you need more help just post here

p.s. almost forget textdraws don't use strcmp unless of course you are toggling them then maybe it can...

https://sampwiki.blast.hk/wiki/TextDrawCreate
1error for that.
TextDrawShowForPlayer;
error 076: syntax error in the expression, or invalid function call
Reply
#8

fixed, made from scratch, thanks.
Reply
#9

Quote:
Originally Posted by 4ir-W4ys
Посмотреть сообщение
Look at wiki.sa-mp.com And Learn Well The Functions, It's The Bestest way to know "How To"
There Is No Need To Capitalize Every Single Letter Of The Beginning Of Every Word, Just To Show Us That You're Cool.
Reply
#10

Quote:
Originally Posted by 4ir-W4ys
Посмотреть сообщение
GET LIFE
Get Life ?, actually, you need to learn how to speak English properly, and stop spamming posts with your useless comments
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)