AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Score Status (https://forums.alliedmods.net/showthread.php?t=145745)

zyrexga 12-19-2010 17:31

Score Status
 
Hello,

I have this code, if someone can help me:

Code:

public playerSpawn(id) {
    if(get_user_flags(id) & ADMIN_LEVEL_H && !(get_user_flags(id) & ADMIN_KICK)){
        message_begin(MSG_ALL, 84);    // ScoreAttrib
        write_byte(id);
        write_byte(6);    // SCOREATTRIB_VIP
        message_end();
 
    }

I want so show the VIP status in scoreboard, for some players.
The thing is that my code is not always working. If the player is T , is showing BOMB instead of VIP, and sometimes even if he is CT .

Seta00 12-19-2010 17:32

Re: Score Status
 
No such thing as VIP terrorists.

zyrexga 12-19-2010 17:35

Re: Score Status
 
Yea i know. I dont want to make it VIP, just the Status of VIP.

Seta00 12-19-2010 17:36

Re: Score Status
 
What I meant was: you can't have terrorists with VIP status, because there is no such thing as VIP terrorists.


All times are GMT -4. The time now is 20:19.

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