Anexy Posted April 13, 2020 Posted April 13, 2020 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 Spoiler
0 StrikerM Posted April 13, 2020 Posted April 13, 2020 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 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 Anexy Posted April 13, 2020 Author Posted April 13, 2020 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 Anexy Posted April 13, 2020 Author Posted April 13, 2020 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
Question
Anexy
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
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now