Jump to content
  • 0

Ajutor


Anexy

Question

3 answers to this question

Recommended Posts

  • 0
Acum 31 minute, Anexy a spus:

Cum sa fac sa nu mai treaca progress bar-ul de 100% cand player-ul atinge un numar de rp-uri mai mare decat cel pentru care ii trebuie pentru level up

sa-mp-007.png

In loc de pRespectPoints(asta find variabila ce determina respectul actual al jucatorului, pui sa fie ce-l necesar pentru level pe care jucatorul il are).

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii, nu mai veniti cu vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

Link to comment
Share on other sites

  • 0

nu inteleg

    new
        szStr[64],
        exp = PlayerInfo[playerid][pLevel]*levelexp,
        Float: textdrawProcent = (267 + PlayerInfo[playerid][pExp] * 100 / exp);

    format(szStr,sizeof szStr,"_LEVEL %d (%d%s)", PlayerInfo[playerid][pLevel], (PlayerInfo[playerid][pExp] * 100 / exp),"%");
    PlayerTextDrawSetString(playerid, LevelTD[playerid][0], szStr);
    PlayerTextDrawShow(playerid, LevelTD[playerid][0]), PlayerTextDrawShow(playerid, LevelTD[playerid][1]);

    PlayerTextDrawTextSize(playerid, LevelTD[playerid][2], textdrawProcent, 0.000000);
    PlayerTextDrawHide(playerid, LevelTD[playerid][2]), PlayerTextDrawShow(playerid, LevelTD[playerid][2]);
    return 1; 

asta-i codul de la progress bar

Spoiler

 

 

Link to comment
Share on other sites

  • 0
1 hour ago, StrikerM said:

In loc de pRespectPoints(asta find variabila ce determina respectul actual al jucatorului, pui sa fie ce-l necesar pentru level pe care jucatorul il are).

nu inteleg

    new
        szStr[64],
        exp = PlayerInfo[playerid][pLevel]*levelexp,
        Float: textdrawProcent = (267 + PlayerInfo[playerid][pExp] * 100 / exp);

    format(szStr,sizeof szStr,"_LEVEL %d (%d%s)", PlayerInfo[playerid][pLevel], (PlayerInfo[playerid][pExp] * 100 / exp),"%");
    PlayerTextDrawSetString(playerid, LevelTD[playerid][0], szStr);
    PlayerTextDrawShow(playerid, LevelTD[playerid][0]), PlayerTextDrawShow(playerid, LevelTD[playerid][1]);

    PlayerTextDrawTextSize(playerid, LevelTD[playerid][2], textdrawProcent, 0.000000);
    PlayerTextDrawHide(playerid, LevelTD[playerid][2]), PlayerTextDrawShow(playerid, LevelTD[playerid][2]);
    return 1; 

asta-i codul de la progress bar

Spoiler

 

 

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.