Jump to content
  • 0

Ajutor VIP User desupra capului


Question

Posted

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?

11 answers to this question

Recommended Posts

  • 1
Posted (edited)
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
  • 0
Posted (edited)

Create3DTextLabel, mai departe iei de pe sa-mp wiki.

Edited by Kanon
  • 0
Posted
Acum 1 minut, Kanon a spus:

SetPlayerAttachedObject, mai departe iei de pe sa-mp wiki.

imi zici tu te rog frumos si unde sa pun sunt la inceput si vreau sa ajung departe

  • 0
Posted
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

  • 0
Posted
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

  • 0
Posted
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
  • 0
Posted (edited)
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
  • 0
Posted

acum imi da asta 

C:\Users\User\Desktop\Wster Rpg\gamemodes\gamemode.pwn(7929) : error 001: expected token: ";", but found "if"
C:\Users\User\Desktop\Wster Rpg\gamemodes\gamemode.pwn(7931) : error 017: undefined symbol "VIP"

  • 0
Posted

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);
    }

  • 0
Posted

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

  • 0
Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.