[Ajuda] Tirar nome do player
#6

PHP Code:
public OnGameModeInit()
{
    
ShowNameTags(0);
    return 
1;
}
new 
Text3D:playerID[MAX_PLAYERS];
public 
OnPlayerConnect(playerid)
{
    new 
str[6];
    
format(strsizeof(str), "%d"playerid);
    
playerID[playerid] = Create3DTextLabel(str0x1E90FFFF000100);
    
Attach3DTextLabelToPlayer(playerID[playerid], playerid0.00.00.1);
    return 
1;    
}
public 
OnPlayerDisconnect(playeridreason)
{
    
Delete3DTextLabel(playerID[playerid]);
    return 
1;

Quote:
Originally Posted by IgorYan
View Post
estб ai so estudar sobre um pouco mais de https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Reply


Messages In This Thread
Tirar nome do player - by Vict9r - 23.02.2020, 04:13
Re: Tirar nome do player - by Malandrin - 23.02.2020, 11:55
Re: Tirar nome do player - by JoaoGhost - 23.02.2020, 13:31
Re: Tirar nome do player - by IgorYan - 04.06.2020, 05:52
Re: Tirar nome do player - by Vict9r - 04.06.2020, 05:54
Re: Tirar nome do player - by IgorYan - 04.06.2020, 05:56

Forum Jump:


Users browsing this thread: 1 Guest(s)