CCheckpoint::hide/showForPlayer(player) causes the server to crash
uPrizZ opened this issue · comments
Jens K. commented
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!