08.09.2013, 21:04
When someone uses /maskon his name is hidden so other players doesn't see who he is. But when ever he or someone else changes interior or virtual world they start to see his name again. How can I prevent that?
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[i][pMaskuse] == 1)
{
ShowPlayerNameTagForPlayer(i, i, 0);
}
}
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}