13.07.2018, 19:49
Quote:
You dony need IsPlayerConnected part in foreach, and also i have question to all how to create
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer to this include with Create3dTextLabel ? |
And if you're going to use this as the only nametag system you have (i.e. completely remove the default nametags)
Just add this under OnGameModeInit
PHP код:
ShowNameTags(0);
Under OnPlayerConnect
PHP код:
foreach(new i : Player)
{
ShowPlayerNameTagForPlayer(playerid, i, 0);
}
PHP код:
foreach(new i : Player)
{
ShowPlayerNameTagForPlayer(playerid, i, 1);
}