GTA-Network / IV-Network

Alternative GTA IV multiplayer modification

Home Page:http://nanos.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CCheckpoint::hide/showForPlayer(player) causes the server to crash

uPrizZ opened this issue · comments

I made a player function in the CPlayerEntity class:

class CPlayerEntity extends CPlayerEntity
{
function test()
{
this.sendMessage("TEST");
someCheckpoint.hideForPlayer(this);
}
}

When calling the function (player.test();) it crashes the server AFTER sending the Message sucessfully.

Same goes with showForPlayer!