Results 1 to 6 of 6

Thread: Status icon problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private Salem75's Avatar
    Join Date
    Mar 2018
    Location
    Toujane , Tunisia
    Posts
    15
    Thanks
    0
    Thanked 9 Times in 8 Posts
    Idk about your problem , but i know how give vips for players with statusicon i think you'll find idea from my code :

    For zom & Dr & bz mods :

    PHP Code:
    init() {
        
    level.vipPlayer = [];
        
    level.admPlayer = [];


        
    //vips
        
    level.vipPlayer[1] = 874632;        
        
    level.vipPlayer[2] = 707693;

        

    }

    SetVip() {
        
    guid self getGuid();
        for(
    x=1x<=level.vipPlayer.sizex++) {
            if(
    guid==level.vipPlayer[x]) {
                
    precachestatusIcon("gnnr_rank_pro_7");
                
    self.statusicon "gnnr_rank_pro_7";
                
    // you can change value
                
    self.monforvip=200;
            }
            else
            {
                
    self.monforvip=200;
            }
        }

    For a normal mods :
    PHP Code:
    init() {
        
    level.vipPlayer = [];
        
    level.admPlayer = [];


        
    //vip
        
    level.vipPlayer[1] = 874632;
        
    level.vipPlayer[2] = 707693;

    }

    SetVip() {
        
    guid self getGuid();
        for(
    x=1x<=level.vipPlayer.sizex++) {
            if(
    guid==level.vipPlayer[x]) {
                
    precachestatusIcon("gnnr_rank_pro_7");
                
    self.statusicon "gnnr_rank_pro_7";
                
    // you can change value

            
    }
        }


    Change guid to player's guid you want give him vip , this is for example , but if you want gnnr_rank_pro_7 images , materials and adm statusicon
    Contact me !
    Last edited by Salem75; 5th March 2018 at 17:47. Reason: Missing :P

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •