Raised This Month: $51 Target: $400
 12% 

help with message function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PrEn1umz
Junior Member
Join Date: Feb 2007
Location: Nice, France
Old 09-28-2007 , 18:29   help with message function
Reply With Quote #1

hello, i'm working on a plugin and i want to use this function in it :
Code:
public kz_hudmessage(id, const msg[], {Float,Sql,Result,_}:...) {     static message[256]     vformat(message[0], 252, msg, 4)     set_hudmessage(255, 0, 0, -1.0, 0.8, 0, 2.0, 2.0, 0.2, 0.2, 1)     show_hudmessage(id, message) }
can someone explain me what is wrong in my code ?

Last edited by PrEn1umz; 09-28-2007 at 18:37.
PrEn1umz is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-28-2007 , 19:30   Re: help with message function
Reply With Quote #2

Try this:

Code:
public kz_hudmessage(id, msg[], {Float,Sql,Result,_}:...) {     static message[256]     vformat(message, 255, msg, 3)     set_hudmessage(255, 0, 0, -1.0, 0.8, 0, 2.0, 2.0, 0.2, 0.2, 1)     show_hudmessage(id, message) }
__________________
Arkshine is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-29-2007 , 02:12   Re: help with message function
Reply With Quote #3

Also something that is only hud_message related that could be usefull for you :

http://www.amxmodx.org/funcwiki.php?...sync&go=search
ConnorMcLeod is offline
PrEn1umz
Junior Member
Join Date: Feb 2007
Location: Nice, France
Old 09-29-2007 , 06:56   Re: help with message function
Reply With Quote #4

thanks for ur help it works !
PrEn1umz is offline
Reply



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 15:53.


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