Jump to content
  • 0

Ajutor VIP User desupra capului


Exaton

Question

Salutare tuturor am venit si eu azi cu o intrebare cum pot sa fac ca la cei cu cont vip sa le apara deasupara capului V.I.P User?

Si inca o intrebare am gamemodeul WSTER Rpg cum fac ca cand un admin da click pe mapa sa se teleporteze?

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 1
Acum 3 ore, Exaton a spus:

acum totul merge bine dar este o problema scrisul de sus cu Vip e prea sus cum il dau sa fie mai jos langa nick adica ca pe ruby/bugged

acel 0.47 trebuie modificat.il modifici pana iti place cat de jos / sus e

Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.47); 

 

Acea variabila playerlabel sa o declari globala adica in exteriorul oricarei functii.

Edited by valivaly96
Link to comment
Share on other sites

  • 0
Acum 3 ore, Exaton a spus:

Salutare tuturor am venit si eu azi cu o intrebare cum pot sa fac ca la cei cu cont vip sa le apara deasupara capului V.I.P User?

Si inca o intrebare am gamemodeul WSTER Rpg cum fac ca cand un admin da click pe mapa sa se teleporteze?

new PlayerLabel[MAX_PLAYERS]
PlayerLabel[playerid] = Create3DTextLabel(VIP, COLOR, 0.0, 0.0, 40.0, 20.0, 0, 1);
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.47);

La OnPlayerConnect

si posibil si la OnPlayerSpawn daca dupa ce se spawneaza nu ii mai apare

Link to comment
Share on other sites

  • 0
Acum 13 ore, valivaly96 a spus:

new PlayerLabel[MAX_PLAYERS]
PlayerLabel[playerid] = Create3DTextLabel(VIP, COLOR, 0.0, 0.0, 40.0, 20.0, 0, 1);

Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.47);

La OnPlayerConnect

si posibil si la OnPlayerSpawn daca dupa ce se spawneaza nu ii mai apare

ms dar vreau doar la cei care au cont vip sa le apara sau acum ai facut doar la vip? sa le apara

Link to comment
Share on other sites

  • 0
1 oră în urmă, Exaton a spus:

ms dar vreau doar la cei care au cont vip sa le apara sau acum ai facut doar la vip? sa le apara

if(PlayerInfo[playerid][pVip]==1){

PlayerLabel[playerid] = Create3DTextLabel(VIP, COLOR, 0.0, 0.0, 40.0, 20.0, 0, 1);

Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.47);

}

  • Like 1
Link to comment
Share on other sites

  • 0
Acum 3 ore, valivaly96 a spus:

if(PlayerInfo[playerid][pVip]==1){

PlayerLabel[playerid] = Create3DTextLabel(VIP, COLOR, 0.0, 0.0, 40.0, 20.0, 0, 1);

Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.47);

}

imi da eroare asta ce fac? PlayerLabel si asta Attach3DTextLabelToPlayer

Edited by Exaton
Link to comment
Share on other sites

  • 0

asa trebuiea de pus ? 

     new PlayerLabel[MAX_PLAYERS];
    if(PlayerInfo[playerid][pVipAccount] == 1)
    {
        PlayerLabel[playerid] = Create3DTextLabel("VIP", COLOR, 0.0, 0.0, 40.0, 20.0, 0, 1);
        
        Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.47);
    }

Link to comment
Share on other sites

  • 0
Acum 16 ore, valivaly96 a spus:

acel 0.47 trebuie modificat.il modifici pana iti place cat de jos / sus e

Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.47); 

 

Acea variabila playerlabel sa o declari globala adica in exteriorul oricarei functii.

multumesc mult

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.