02.05.2012, 00:04
(
Последний раз редактировалось Gutierrez_zikaloko; 02.05.2012 в 00:47.
)
oq tem de errado aki?
tipo quando a procura some o text de procura с some junto
tipo quando a procura some o text de procura с some junto
pawn Код:
public OnPlayerUpdate(playerid)
{
{
//3d
new Text3D:procurado[MAX_PLAYERS];
new procuradolevel = GetPlayerWantedLevel(playerid);
new Text3d[MAX_PLAYERS];
new gstring[70];
if(procuradolevel > 0)
{
if(Text3d[playerid] == 0)
{
Text3d[playerid] += 1;
format(gstring, sizeof(gstring), "Nivel de procurado: %d", GetPlayerWantedLevel(playerid) );
procurado[playerid] = Create3DTextLabel(gstring, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(procurado[playerid], playerid, 0.0, 0.0, 0.7);
}
Update3DTextLabelText(procurado[playerid], 0x008080FF, gstring ) ;
}
if(Text3d[playerid] += 1)
{
if(procuradolevel == 0)
{
Delete3DTextLabel(procurado[playerid]);
}
}
return 1;
}