Text - 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: Text (
/showthread.php?tid=279984)
Text -
uprp - 29.08.2011
i wanna add text under the Ingame map,
showing my game forums....
Code, please?
STRCMP.
Re: Text -
Mozz - 29.08.2011
you mean a textdraw right?
Re: Text -
uprp - 29.08.2011
yes.. a textdraw.
Re: Text -
Mozz - 29.08.2011
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
Re: Text - HuSs3n - 29.08.2011
you can do it online with this tool :
https://sampforum.blast.hk/showthread.php?tid=254315
Re: Text -
Mozz - 30.08.2011
online is good but ingame is better and more accurate in my opinion + you can actually see it on your gamemode
Re: Text -
uprp - 30.08.2011
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
Re: Text -
uprp - 30.08.2011
fixed, made from scratch, thanks.
Re: Text -
=WoR=G4M3Ov3r - 30.08.2011
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.
Re: Text -
=WoR=G4M3Ov3r - 30.08.2011
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