Jump to content

Question

Posted

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

Spoiler

 

 

3 answers to this question

Recommended Posts

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

  • 0
Posted

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

 

 

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

 

 

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.