Results 1 to 3 of 3

Thread: Admin Icon? :confused:

  1. #1
    Private
    Join Date
    Sep 2016
    Posts
    16
    Thanks
    3
    Thanked 12 Times in 11 Posts

    Admin Icon? :confused:

    i have 1 zombie mod,and i want Admin,Leader and Vip icon Pls Help

  2. The Following User Says Thank You to Kevi For This Useful Post:

    kubislav23 (13th October 2016)

  3. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    PHP Code:
    CodeCallBack_StartGameType()
    {
    /* */
    precacheIcon("supaadmin"); //precaches icon names
    precacheIcon("admin");
    precacheIcon("vip");
    /* */
    }
    CodeCallBack_PlayerConnect()
    {
    /* */
    if(self getGUID()==000000//guid supaadmin
    self.supaaadmin=true;
    else
    if(
    self getGUID()==00000||self getGUID()==00001||self getGuid()==00002//admin guids
    self.admin=true;
    else
    if(
    self getguid()==0001||self getGUID()==00002//vip guids  
    self.vip=true;
    /* */
    }
    /////////////////////////////////////////////////////////////////
    SpawnPlayer() //maybe other name func
    {//spawn player
    /* prev code */
    if(self.supaadmin&&isDefined(self.supaadmin))
    self.statusicon "supaadmin"//name icon maybe other (Images file *.iwi+material file no format)
    else
    if(
    self.ADMIN&&isDefined(self.admin))
    self.statusicon "admin";
    else
    if(
    self.vip&&isDefined(self.vip))
    self.statusicon ="vip";
    /* next code */

    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  4. The Following User Says Thank You to maxdamage99 For This Useful Post:

    kevi07 (4th February 2017)

  5. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    you typo'd supaaadmin
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  6. The Following User Says Thank You to IzNoGoD For This Useful Post:

    kevi07 (4th February 2017)

Posting Permissions

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