Raised This Month: $ Target: $400
 0% 

Native error in show_hudmessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Prometheus.
Member
Join Date: Sep 2004
Old 03-26-2005 , 12:30   Native error in show_hudmessage
Reply With Quote #1

I'm not sure when this started, might have been when I upgraded to AMXX 1.01

Anyways, there seems to be nothing wrong in the code, no compile errors.

Code:
    format(hud_message,127,"Wallet: $%s^nBank balance: $%s^nJob: %s^nPay: $%s",wallet_res,bank_res,job_name_res,job_pay_res) } else {     format(hud_message,127,"Please register using amx_register in the console.") } set_hudmessage(5,175,5,-1.2,-0.7,0,0.0,99.0,0.0,0.0,4); show_hudmessage(b,hud_message);

Now before I had a set_hudmessage and show_hudmessage in place of both formats, and found it easier to do it the way shown above.

Back when I had it with two, it was only the "Please register" one that showed any signs of problems.

I'd comment it out due to bordem of the endless messages in the console, each being 2.5 seconds apart xD

So I changed it to how it is now, and I still get the error for show_hudmessage

As you may have guessed, it is inside a while() loop where b is the player id and goes from 1-32

I'd be grateful if someone could help :/
.Prometheus. is offline
Send a message via AIM to .Prometheus. Send a message via MSN to .Prometheus.
 



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 09:52.


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