Raised This Month: $ Target: $400
 0% 

ScoreAttrib


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CyberMaN
Junior Member
Join Date: Mar 2009
Old 03-24-2009 , 10:34   ScoreAttrib
Reply With Quote #1

Hello there,

My name is James, and I am new at amxmodx coding. Now, I would like to ask a question. I am working to get a small thing running, show VIP in the scoreboard. I linked myself to:

http://www.amxmodx.org/funcwiki.php?go=func&id=202

And to someone's code containing:
PHP Code:
stock cs_set_user_scoreattrib(id,attrib=0)
{
    
message_begin(2,get_user_msgid("ScoreAttrib"),{0,0,0},0);
    
write_byte(id);
    
write_byte(attrib);
    
message_end();

with a comment of (1<<2) means VIP.

Well, I can't get it to work out, I've tried using about 5 other plugins to see if their side worked, but I just can't see it on the scoreboard. And everything works wonderfully on the server, no problems with the plugins loading.

Thanks in advance for any help offered,
James.
CyberMaN is offline
 



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:01.


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