Raised This Month: $ Target: $400
 0% 

Event_StatusValue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 12-31-2009 , 10:11   Event_StatusValue
Reply With Quote #1

what i can make if player is specting t, for this show Zombie stuff.
If this specting ct for this show Human stuff. I using this:
PHP Code:
public Event_StatusValue(id// Human stuff
{
    new 
target read_data(2)
      if (
target != id && target != 0)
      {
        static 
sName[32];
        
get_user_name(targetsName31)

        if (
get_user_team(id) == 2)
        {
            
set_hudmessage(2552552550.6, -1.000.06.00.00.02)
            
show_hudmessage(id"Name: %s^n Level: %i^n Rank: %s"sNamePlayerLevel[target], HumanRanks[PlayerLevel[target]])
        }
    }
}

public 
Event_StatusValue2(id// Zombie stuff
{
    new 
target read_data(2)
      if (
target != id && target != 0)
      {
        static 
sName[32];
        
get_user_name(targetsName31)

        if (
get_user_team(id) == 1)
        {
            
set_hudmessage(2552552550.6, -1.000.06.00.00.02)
            
show_hudmessage(id"Name: %s^n Level: %i^n Class: %s"sNamePlayerLevel[target], ZombieClasses[PlayerLevel[target]])
        }
    }

but this working wrong!
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Old 12-31-2009, 13:50
hleV
This message has been deleted by Exolent[jNr]. Reason: Don't flame.
Reply


Thread Tools
Display Modes

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 04:11.


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