Results 1 to 3 of 3

Thread: Admin Icon? :confused:

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    459
    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

  2. The Following User Says Thank You to maxdamage99 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
  •