Raised This Month: $ Target: $400
 0% 

ViP Mod Issues


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 11-08-2009 , 03:28   ViP Mod Issues
Reply With Quote #1

Code is below

I join the server no menu then resets when player joins other team i get the menu.

on new round i get no menu

any idea why?

PHP Code:
public PlayerSpawn(id)
{
    new 
players[32], inum;
    
get_players(players,inum);
    for(new 
x=0<= inumx++)
    {
        if(
is_user_connected(players[x]) && is_user_alive(players[x]))
        {
            if(
cs_get_user_vip(players[x]))
            {
                if(
is_user_alive(players[x]) && is_user_connected(players[x]))
                {
                    
menu_display(players[x], Menu);
                    
                    
client_print(players[x], print_chat"[VIP] You are the VIP. Have fun and good luck")
                }
            }
        }
    }


Last edited by Doc-Holiday; 11-08-2009 at 04:37.
Doc-Holiday 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 17:42.


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