GTA-Center.com » Forum
http://www.gta-center.com/forums/

[RISOLTO][HELP] Barra HP in testa
http://www.gta-center.com/forums/viewtopic.php?f=41&t=1492
Pagina 1 di 1

Autore:  B3nny [ 03/11/2011, 21:51 ]
Oggetto del messaggio:  [RISOLTO][HELP] Barra HP in testa

Salve ragazzi, ho una gamemode in dini, basata su MC:RP, e la sto scriptando ancora, ho provato a levare la barra rossa in testa degli HP, e ci son riuscito ma mi da un warning nell ultima stringa:

sunwheel.pwn(9550) : warning 213: tag mismatch

new Nome[24], stringa[60];
GetPlayerName(playerid, Nome, 24);
format(stringa, 55, "%s", Nome);
NomeInTesta[playerid] = Create3DTextLabel(stringa, 0xDCEAE9FF, 0.0, 0.0, 0.0, 15, -1, 1);

Autore:  S&C [ 03/11/2011, 21:54 ]
Oggetto del messaggio:  Re: [HELP] Barra HP in testa

Prova:
OnGameModeInit:
Codice:
ShowNameTags(0);

In cima:
Codice:
new Text3D:NomeInTesta[MAX_PLAYERS];

OnPlayerConnect:
Codice:
new Nome[24], string[30];GetPlayerName(playerid, Nome, 24);
format(string, 30, "%s", Nome);
NomeInTesta[playerid] = Create3DTextLabel(string,0xDCEAE9FF, 0.0, 0.0, 0.0, 15, -1, 1);

Autore:  B3nny [ 03/11/2011, 22:18 ]
Oggetto del messaggio:  Re: [HELP] Barra HP in testa

Sistemato, Grazie tante.

Pagina 1 di 1 Tutti gli orari sono UTC + 1 ora [ ora legale ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/