Raised This Month: $ Target: $400
 0% 

Showing text


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kacperz1
Junior Member
Join Date: Jul 2007
Old 07-05-2007 , 13:11   Showing text
Reply With Quote #1

I was wondering toooo if you could say to me with function shows text on screen? I mean i want to show a big colored text on center of screen and also a little colored one right-center aligned.
kacperz1 is offline
lagbeast
Junior Member
Join Date: Jul 2007
Old 07-05-2007 , 13:23   Re: Showing text
Reply With Quote #2

I think you can find some help here maybe!

http://forums.alliedmods.net/showthr...highlight=csay
lagbeast is offline
kacperz1
Junior Member
Join Date: Jul 2007
Old 07-05-2007 , 13:35   Re: Showing text
Reply With Quote #3

There is wroten that you must download plugin to use that function. But i use web compiler.
kacperz1 is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-05-2007 , 13:54   Re: Showing text
Reply With Quote #4

wtf do you mean? a HUD message?
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
kacperz1
Junior Member
Join Date: Jul 2007
Old 07-05-2007 , 13:57   Re: Showing text
Reply With Quote #5

LOL I dont know. I mean a colored text on center on screen.
Whr can i download amxx compiler? Last time i used web compiler but its to match work to use it

Last edited by kacperz1; 07-05-2007 at 14:01.
kacperz1 is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-05-2007 , 14:34   Re: Showing text
Reply With Quote #6

when you download and install amxx full. If you look in your scripting folder SURPRISE!! A compiler. for your message:
Code:
/**  * Sets format for hudmessage.  * Note - as of AMX Mod X 1.61, setting the channel to -1  *  will automatically choose the next available HUD channel for a player.  */ native set_hudmessage(red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2,channel=4); /* Displays HUD message to given player. */ native show_hudmessage(index,const message[],{Float,Sql,Result,_}:...);

example usage:
Code:
set_hudmessage(0, 255, 0, -1.0, -1.0); show_hudmessage(id, "<Hudmessage>");
thats a VERY simple green hudmessage.
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-05-2007 , 14:35   Re: Showing text
Reply With Quote #7

note that example will print to the VERY center of the screen, which people dont like, so I would use the default values for the x,y coordinates
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode