[Pomoc] AFK

25. Maj 2013. Zaključano
311
pregleda
7
postova
Robi031
4
Enforcer
25. Maj 2013.
Skripta koju koristim:Moj gm od 0
Detaljan opis problema:
Dali mi moze netko objasniti kako da napravim ako igrač pritisne "ESC" da mu je text iznad glave PAUZIRAN i koliko dugo je pauziran.
Bio bih zahvalan
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Wucha
5
Underboss
25. Maj 2013.
public OnPlayerPause(playerid)
{
    new name, stringafk;
    GetPlayerName(playerid, name, sizeof(name));
    format(stringafk, sizeof(stringafk), "ANTIAFK: %s koristi ESC menu.",name);
    ABroadCast(COLOR_YELLOW, stringafk, 2);
    AFKText = Create3DTextLabel("[KORISTI ESCAPE MENI]", COLOR_LIGHTGREEN,30.0,40.0,50.0,40.0,0,1);
    Attach3DTextLabelToPlayer(AFKText, playerid, 0.0,0.0,0.7);
SetPVarInt(playerid,"ESCTajmer",1);
return 1;
}
public OnPlayerUnPause(playerid)
{
    Delete3DTextLabel(AFKText);
    SetPlayerChatBubble(playerid, "", COLOR_LIGHTGREEN, 40.0, 500);
if(GetPVarInt(playerid,"ESCTajmer") == 1)
{
SetPVarInt(playerid,"ESCTajmer",0);
}
    return 0;
}
Bugi
5
Crime Lord
25. Maj 2013.
Pod OnPlayerPause probaj da koristis funkciju SetPlayerChatBubble ili Attach3DTextLabelToPlayer
Wucha
5
Underboss
25. Maj 2013.
|LZ| Bugi wrote on May 25, 2013, 7:30 am:
Pod OnPlayerPause probaj da koristis funkciju SetPlayerChatBubble ili Attach3DTextLabelToPlayer


Jel vidis da sam mu ja dao sve ?
ladolez
5
Underboss
25. Maj 2013.
kad ubaci izbacice mu erore posto npr nema definisane boje ili tako nesto
Wucha
5
Underboss
25. Maj 2013.
Ako ne zna da definise neka se obrati ovde i resicemo 🙂
Blaeks_Biofor
5
Forum Don
25. Maj 2013.
nece ti to raditi ako nemas include fajl pause

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha