Raised This Month: $ Target: $400
 0% 

ViP Mod Issues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 11-08-2009 , 03:38   Re: Menu Issue
Reply With Quote #1

Quote:
Originally Posted by Arkshine View Post
First, why do you loop though all players when the forward is called by player ?

Had no idea what i was doing and saw that on the wiki...

This is what i did now same thing

PHP Code:
public PlayerSpawn(id)
{    
    if(
is_user_connected(id) && is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT)
    {
        if(
cs_get_user_vip(id))
        {
            
menu_display(idMenu);
                
            
client_print(idprint_chat"[VIP] You are the VIP. Have fun and good luck")
        }
    }


Last edited by Doc-Holiday; 11-08-2009 at 03:50.
Doc-Holiday is offline
Reply



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 17:42.


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