[pomoc] 3dtext :)


Započeo Eazy_Eye, Jul 24, 2011, 03:41:02 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:bmw
Detaljan opis problema:
-Pozdrav ivak treba mi pomoc zna li neko da mi kaze kako da kad npr admin ukuca /afk da mu iznad glave 3dtext pise [igrac je afk]
a kad ukuca /back da mu nestane to :) ?

[]Flynâ„¢

*

Never look down on anybody unless you're helping them up.

Vrh moda:
Kod: c
new Text3D:AFKText[MAX_PLAYERS];





public OnPlayerDisconnect:
Kod: c
Delete3DTextLabel(AFKText[playerid]);


U komandi /afk:
Kod: c
AFKText[playerid] = Create3DTextLabel("Ovaj bot je AFK, ne mozes mu nista!ahahaha",0xFF000099,0,0,0,50,-1,1);
Attach3DTextLabelToPlayer(AFKText[playerid], playerid, 0,0,0);





U komandi /back:
Kod: c
Delete3DTextLabel(AFKText[playerid]);





Mislim da je to to. Nisam testao, probaj pa javi ;)

Citat: [CRP] Pacijent_ poslato Jul 24, 2011, 03:50:19 PRE PODNE
Vrh moda:
Kod: c
new Text3D:AFKText[MAX_PLAYERS];





public OnPlayerDisconnect:
Kod: c
Delete3DTextLabel(AFKText[playerid]);


U komandi /afk:
Kod: c
AFKText[playerid] = Create3DTextLabel("Ovaj bot je AFK, ne mozes mu nista!ahahaha",0xFF000099,0,0,0,50,-1,1);
Attach3DTextLabelToPlayer(AFKText[playerid], playerid, 0,0,0);





U komandi /back:
Kod: c
Delete3DTextLabel(AFKText[playerid]);





Mislim da je to to. Nisam testao, probaj pa javi ;)
hvala sad cu probati :)