AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Client print colors with level.. (https://forums.alliedmods.net/showthread.php?t=128886)

SaM.ThE.MaN 06-06-2010 14:04

Client print colors with level..
 
Fixed!
#Request Close

reinert 06-06-2010 15:12

Re: Client print colors with level..
 
ERROR 404

lucas_7_94 06-06-2010 15:16

Re: Client print colors with level..
 
have problems with stock's method ?

fysiks 06-06-2010 17:07

Re: Client print colors with level..
 
You can't format a string in write_string(). Use format() or formatex() to format the string. The best thing to do for you is to use a color chat that already works as a simple single function.

SaM.ThE.MaN 06-06-2010 18:24

Re: Client print colors with level..
 
can you elaborate what you mean with an example?
thankyou

fysiks 06-06-2010 21:56

Re: Client print colors with level..
 
Quote:

Originally Posted by SaM.ThE.MaN (Post 1201784)
can you elaborate what you mean with an example?
thankyou

You can search/look at other plugins. I'm not going to treat you like a two year old.

SaM.ThE.MaN 06-07-2010 04:21

Re: Client print colors with level..
 
this is what i am looking for : https://forums.alliedmods.net/showthread.php?t=118912

am i right?

SaM.ThE.MaN 06-07-2010 05:15

Re: Client print colors with level..
 
ok am lost , i tried everything an nothing worked.

Edit : isnt this correct :
PHP Code:

public ShowHUD(id)    

    new 
HUD[51
    
    
//This is the stuff that will actually show in game.
    
format(HUD50"Level: %i XP: %i"PlayerLevel[id], PlayerXP[id]) 

    
message_begin(MSG_ONEmsgtext, {0,0,0}, id
    
write_byte(id
    
write_string(HUD
    
message_end() 
    return



RedRobster 06-07-2010 17:34

Re: Client print colors with level..
 
Wait, are you trying to show a HUD? Or text?

SaM.ThE.MaN 06-08-2010 03:04

Re: Client print colors with level..
 
nvm,i dont think anyone can help.


All times are GMT -4. The time now is 05:17.

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