Skripta koju koristim: gtarp
Detaljan opis problema: Stavio sam public OnPlayerSpawn() ako je igrac admin da mu se pojavi iznad glave 3dtext!! Ali imam PROBLEM! Ja sam namestio da taj 3d text bude lepo iznad imena igraca, ali kada se ja odaljim od igraca malo dalje, taj 3dtext se spusti na mesto gde je ime igraca, pa se na istom mestu vidi ime igraca i 3dtext, ali kada se priblizim sve je normalno kako sam stavio u scripti, i 3dtext je iznad imena lepo! :) kako da to resim?? DACU VAM REPUTATION ako pomognete!!
Dio skripte:
// ------------------[ ADMIN ] label za admine ----------------------
if(PlayerInfo[playerid][pAdmin] == 1339)
{
OSCLabel[playerid] = Create3DTextLabel("[ ADMIN ]",0x000000FF,0,20,0,21,0,1);
Attach3DTextLabelToPlayer(OSCLabel[playerid], playerid, 0.0,0.0,0.26);
}
if(PlayerInfo[playerid][pAdmin] == 1337)
{
OSCLabel[playerid] = Create3DTextLabel("[ ADMIN]",0x000000FF,0,20,0,21,0,1);
Attach3DTextLabelToPlayer(OSCLabel[playerid], playerid, 0.0,0.0,0.26);
}
if(PlayerInfo[playerid][pAdmin] == 4)
{
OSCLabel[playerid] = Create3DTextLabel("[ ADMIN ]",0x000000FF,0,20,0,21,0,1);
Attach3DTextLabelToPlayer(OSCLabel[playerid], playerid, 0.0,0.0,0.26);
}
if(PlayerInfo[playerid][pAdmin] == 3)
{
OSCLabel[playerid] = Create3DTextLabel("[ ADMIN ]",0x000000FF,0,20,0,21,0,1);
Attach3DTextLabelToPlayer(OSCLabel[playerid], playerid, 0.0,0.0,0.26);
}
if(PlayerInfo[playerid][pAdmin] == 2)
{
OSCLabel[playerid] = Create3DTextLabel("[ ADMIN ]",0x000000FF,0,20,0,21,0,1);
Attach3DTextLabelToPlayer(OSCLabel[playerid], playerid, 0.0,0.0,0.26);
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):/