Results 1 to 8 of 8

Thread: Static model functions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    maybe I'm wrong, but still need to describe hidePlayer() function, I did it like this
    PHP Code:
    hidePlayer(model)
    {
        
    self.hidden model;
        
    self setModel(model);

    and add some code to the function onSpawnedPlayer()
    PHP Code:
    onSpawnedPlayer()
    {
        if (
    self.pers["team"] == "allies")
        {
            if (!
    isDefined(self.hidden))
                
    self.hidden "null";
            
            
    self thread monitorKeysHiders();
        }

    it works for me, but I'm not sure what is correct
    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:

    Mitch (3rd March 2021)

Posting Permissions

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