Jump to content

AleXw0w

Member
  • Posts

    80
  • Joined

  • Last visited

About AleXw0w

Contact methods

  • Discord ID:
    435512777810116618

Profile Information

  • Gender:
    Băiat/Boy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

AleXw0w's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Gata, am mai modificat niste chestii, am pus ce mi-ai dat tu si acum merge, ms >3
  2. Nu mai conteaza, il las normal fara procent.
  3. if(PlayerInfo[pShowGoal] != 0) { new Float:percentamount = ServerGoal / SERVER_GOAL * 100; PlayerTextDrawShow(i, ServerGoalPTD[0]); PlayerTextDrawShow(i, ServerGoalPTD[1]); format(string, sizeof(string), "Server Goal (%.0f%s)", percentamount, "%"); PlayerTextDrawSetString(i, ServerGoalPTD[0], string); format(string, sizeof(string), "~g~$%s~w~ out of ~y~$%s", FormatNumber(ServerGoal), FormatNumber(SERVER_GOAL)); PlayerTextDrawSetString(i, ServerGoalPTD[1], string); updatesvgoal(i); } Este deja la functia Timers si tot degeaba
  4. Intrebare: Cum pot sa adaug procentaj la un Job Goal? Ai încercat să faci ceva înainte să postezi?: Da, am luat o "functie" de calcul de pe net, dar vad ca nu merge, apare mereu 0%, iar cand se umple goal-ul apare 100%, dar in rest nu se modifica... ServerGoal = cat s-a strans. SERVER_GOAL = cat trebuie strans. new Float:percentamount = ServerGoal / SERVER_GOAL * 100; PlayerTextDrawShow(i, ServerGoalPTD[0]); PlayerTextDrawShow(i, ServerGoalPTD[1]); format(string, sizeof(string), "Server Goal (%.0f%s)", percentamount, "%"); PlayerTextDrawSetString(i, ServerGoalPTD[0], string); format(string, sizeof(string), "~g~$%s~w~ out of ~y~$%s", FormatNumber(ServerGoal), FormatNumber(SERVER_GOAL)); PlayerTextDrawSetString(i, ServerGoalPTD[1], string); POZA:
×
×
  • Create New...