Major Server Update Released (April 25)

maxorator

  • VC:MP Developer
  • Posts: 153

vcmptr

  • Jr. Member
  • This user novice scripter.
  • Posts: 60
My English is not good.

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,127

maxorator

  • VC:MP Developer
  • Posts: 153

Milos

  • Jr. Member
  • Posts: 83

karan20000000000

  • Jr. Member
  • KP
  • Posts: 66
Re: Major Server Update Released (April 25)
« Reply #50, on April 26th, 2016, 09:34 PM »Last edited on April 27th, 2016, 05:54 PM
The GUIEntity class seems to be lacking .Delete() method. I tried setting the instance variable to null and it gave an error saying 'trying to set class'. (@maxorator)
With regards,
KP
------------------------------------------

Thijn

  • VC:MP Beta Tester
  • Posts: 1,688

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,807
Re: Major Server Update Released (April 25)
« Reply #52, on April 27th, 2016, 01:00 AM »
Since spheres got merged with checkpoints. Does that mean that the checkpoint limit was increased as well? Previously, we had 2000 checkpoints and 2000 spheres. So does that mean we now have 4000 checkpoints?
.

Drake

  • VC:MP Beta Tester
  • Posts: 287
Re: Major Server Update Released (April 25)
« Reply #53, on April 27th, 2016, 03:10 AM »
Something is wrong with Console::Print. It throws "Main Script line = (1) column = (9) : error end of statement expected (; or If)"  whenever used.

Derwaish.

  • Jr. Member
  • Loading.....
  • Posts: 76

DizzasTeR

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,167

Drake

  • VC:MP Beta Tester
  • Posts: 287

DizzasTeR

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,167
Re: Major Server Update Released (April 25)
« Reply #57, on April 27th, 2016, 05:05 AM »
No, methods are defined on classes with the proportion symbol ( :: ) and then called with the dot over the class. A simple example that we do our own player methods by adding them to main CPlayer class:

Code: [Select]
function CPlayer::Heal()
{
    this.Health = 100;
    ::MessagePlayer( "You got healed!", this );
}
Now you call that with player.Heal(); not player::Heal();

@maxorator, the onCheckpointEntered event is working with spheres, but the onCheckpointExit is not, hoping for a quick reply and fix.

Drake

  • VC:MP Beta Tester
  • Posts: 287
Re: Major Server Update Released (April 25)
« Reply #58, on April 27th, 2016, 05:42 AM »Last edited on April 27th, 2016, 07:09 AM
I know this, but it is just because I never saw that Console::Print(text) is under Global Functions.

 :edit: What is the FFA team's new ID? 255 doesn't work, now if used changes automatically to team 0.

EK.IceFlake

  • Hero Member
  • "We are the champions my fellahs" - Sufyan/VK.SuFy
  • Posts: 1,761