maybe I'm wrong, but still need to describe hidePlayer() function, I did it like this
and add some code to the function onSpawnedPlayer()PHP Code:
hidePlayer(model)
{
self.hidden = model;
self setModel(model);
}
it works for me, but I'm not sure what is correctPHP Code:
onSpawnedPlayer()
{
if (self.pers["team"] == "allies")
{
if (!isDefined(self.hidden))
self.hidden = "null";
self thread monitorKeysHiders();
}
}