-
Posts
561 -
Joined
Content Type
Profiles
Forums
Calendar
Store
Downloads
Posts posted by Moderat
-
-
- Nickname: Moderat
- Rang: 5
- Culoarea votată: 18
0 -
Nick: Moderat
Rang: 5
Data: 24.03.2022
Am dat test cu: RatonFN2009
Teoretic (x/3): 0/3
Practic (x/5): 0/5
Teren (x/4): 4/4
Rezultat final (Admis/Respins): Admis
Alte precizări: Felicitari!0 -
Nick: Moderat
Rang: 5
Data: 24.03.2022
Am dat test cu: Atentie.Tractez
Teoretic (x/3): 1/3
Practic (x/5): 0/5
Teren (x/4): 4/4
Rezultat final (Admis/Respins): Admis
Alte precizări: Felicitari!Nick: Typhoon
Rang: Lider
Data: 24.03.2022
Am dat test cu: .Ev0.
Teoretic (x/3): 1/3
Practic (x/5): 4/5
Teren (x/4): 4/4
Rezultat final (Admis/Respins): Admis
Alte precizări: Felicitari!0 -
Nick: Moderat
Rang: 5
Data: 24.03.2022
Am dat test cu: Giuliano.
Teoretic (x/3): 0/3
Practic (x/5): 2/5
Teren (x/4): 4/4
Rezultat final (Admis/Respins): Admis
Alte precizări: Felicitari!0 -
Nick: Moderat
Rang: 5
Data: 23.03.2022
Am dat test cu: Michael.Townley
Teoretic (x/3): 3/3
Practic (x/5): x/5
Teren (x/4): x/4
Rezultat final (Admis/Respins): Respins
Alte precizări: Bafta data viitoare!0 -
Nick: Moderat
Rang: 5
Data: 20.03.2022
Am dat test cu: RaphaRafael
Teoretic (x/3): 3/3
Practic (x/5): x/5
Teren (x/4): x/4
Rezultat final (Admis/Respins) : Respins
Alte precizări: Bafta data viitoare!Nick: Moderat
Rang: 5
Data: 20.03.2022
Am dat test cu: flavianb2
Teoretic (x/3): 3/3
Practic (x/5): x/5
Teren (x/4): x/4
Rezultat final (Admis/Respins) : Respins
Alte precizări: Bafta data viitoare!0 -
Nick: Moderat
Rang: 5
Data: 19.03.2022
Am dat test cu: El_Bogdanel
Teoretic (x/3): 2/3
Practic (x/5): 2/5
Teren (x/4): 0/4
Rezultat final (Admis/Respins) : Admis
Alte precizări: Felicitari!Nick: Moderat
Rang: 5
Data: 19.03.2022
Am dat test cu: Alone
Teoretic (x/3): 3/3
Practic (x/5): x/5
Teren (x/4): x/4
Rezultat final (Admis/Respins) : Respins
Alte precizări: Better luck next time!0 -
Nick: Moderat
Rang: 5
Data: 12.03.2022
Am dat test cu: EMiR.
Teoretic (x/3): 3/3
Practic (x/5): x/5
Teren (x/4): x/4
Rezultat final (Admis/Respins) : Respins
Alte precizări: Felicitari!Nick: Moderat
Rang: 5
Data: 12.03.2022
Am dat test cu: desync
Teoretic (x/3): 1.5/3
Practic (x/5): 2/5
Teren (x/4): 0/4
Rezultat final (Admis/Respins) : Admis
Alte precizări: Felicitari!0 -
On 2/3/2022 at 10:33 PM, Moderat said:
A trebuit sa rezolv niste chestii, asa ca am actualizat link-ul.
Pentru cei care il folositi, ar fi clar recomandat sa stergeti scriptul pe care il aveti deja si sa il puneti pe cel din noul link.
Scriptul este acum in mod oficial la sectiunea de moduri - orice update va fi facut acolo de acum: https://forum.b-zone.ro/files/file/325-taxi-fare-helper/
On 2/4/2022 at 5:53 AM, S y L v y said:Genial modul. Daca ai putea pe viitor sa faci un mod in care sa modifici tot HUD-ul sa fie mai frumos, cum ai facut la caseta cu fare si la textdraw-ul cu kilometraj. Totodata, un mod bun, nu te mai chinui sa scrii /fare 1-30-50 pe tastatura
Ma gandeam, insa sunt si multe chestii la care nu am access, de ex. UI pentru cei care au parcela, etc. Chestiile astea ar fi putut fi facute direct din server. Daca eram scripter la server, as fi propus clar lui Kelton sa ma lase sa ma ocup (oricum nu am treaba cu scriptat pentru servere de SAMP, deci situatia asta ar fi intr-un ceva univers alternativ).
0 -
On 2/3/2022 at 10:33 PM, Moderat said:
A trebuit sa rezolv niste chestii, asa ca am actualizat link-ul.
Pentru cei care il folositi, ar fi clar recomandat sa stergeti scriptul pe care il aveti deja si sa il puneti pe cel din noul link.
Scriptul este acum in mod oficial la sectiunea de moduri - orice update va fi facut acolo de acum: https://forum.b-zone.ro/files/file/325-taxi-fare-helper/
0 -
Scriptul este acum in mod oficial la sectiunea de moduri - orice update va fi facut acolo de acum: https://forum.b-zone.ro/files/file/325-taxi-fare-helper/
0 -
A trebuit sa rezolv niste chestii, asa ca am actualizat link-ul.
Pentru cei care il folositi, ar fi clar recomandat sa stergeti scriptul pe care il aveti deja si sa il puneti pe cel din noul link.
0 -
A trebuit sa rezolv niste chestii, asa ca am actualizat link-ul.
Pentru cei care il folositi, ar fi clar recomandat sa stergeti scriptul pe care il aveti deja si sa il puneti pe cel din noul link.
0 -
Am actualizat link-ul acum cateva minute, nu functiona corect /fare cand se dadea X+C pentru prima oara dupa ce ne urcam in Taxi.
Stergeti scriptul vechi inainte de a il pune pe cel nou.
0 -
Salut colegi, am la "Discutii Generale" in forumul LS Taxi un script CLEO (verificat de admini) care ne ajuta cu schimbarea de /fare in functie de ora zilei, cat si cu aspectul informatiilor despre /fare care sunt afisate in partea dreapta.
Pentru mai multe detalii, aruncati un ochi aici:
2 -
Salut colegi, am la "Discutii Generale" in forumul LS Taxi un script CLEO (verificat de admini) care ne ajuta cu schimbarea de /fare in functie de ora zilei, cat si cu aspectul informatiilor despre /fare care sunt afisate in partea dreapta.
Pentru mai multe detalii, aruncati un ochi aici:
0 -
Salut,
Avand in vedere faptul ca acum avem tarife diferite in functie de perioada zile, plus faptul ca nu imi place cum arata informatiile despre /fare in chenarul ala galben, am lucrat la un script care (pe scurt) modifica afisarea informatiilor respective, cat care ne si informeaza daca tariful setat este gresit, in functie de ora.
Scriptul a fost verificat de catre admini si nu afecteaza dovezile in cazul in care vom avea nevoie sa facem dovezi pentru diverse situatii care pot aparea in joc.
Mai multe detalii:
- Aspectul mai placut vizual (zic eu) al informatiilor despre fare:
- Daca ai /fare 1 setat, apare un mesaj cu scopul sa te faca sa nu uiti de el acolo si sa duci ulterior un pasager cu fare gresit.
- Daca setam /fare 20, care nu mai este valabil, apare un mesaj de avertizare. Cand apar aceste mesaje de avertizare,
putem apasa simultan tastele X+C pentru a seta /fare 30 sau /fare 50 in mod automat, in functie de ora serverului.
- Daca avem /fare 30 cand ar trebui 50, sau invers, apare intr-un mod similar un mesaj de avertizare.
Apasarea simultana a butoanelor X+C va seta tariful corespunzator.
Dupa cum poate fi observat din toate imaginile din exemple, si textul ce face referire la combustibil/viteza a primit un tratament similar cu textul informatiilor despre /fare.
Instalare:
- Este necesar sa aveti instalat CLEO si SAMPFUNCS.
- Se copiaza scriptul .cs in folderul CLEO, si atat.
Scurtaturi butoane disponibile:
- Apasand simultan X+C se seteaza in mod automat /fare 30 sau 50 in functie de ora serverului
- Apasand simultan Z+X se seteaza /fare 1
Download (de pe ZippyShare) - link actualizat din nou, pe 3 Februarie (rezolvat repede niste chestii)
Sper sa va fie de folos!
0 -
Nickname: Moderat
Rang: 4
Culoarea votată: 1150 -
20 hours ago, Tupi said:
Right, is a problem from language itself, not from server.
Ok, thanks for the assistance!
0 -
25 minutes ago, Tupi said:
Or you can try this
1@ = GetPlayerScore(0@) repeat wait 50 1@ = GetPlayerScore(0@) until 1@ > 0
It's basically the same thing, except you set the waiting time to 50ms, unless I don't know something and "repeat" works differently in the background in comparison to "while".
I did a test, and after 30ms it already got the level, so I may increase the time to 15ms or something.
"GetPlayerScore" doesn't force an update of the scoreboard and hence it doesn't put stress on the server, right?
0 -
This seems to work fine for now - I will see in the following days if it works well at all times.
7@ = SAMP.GetPlayerScore(6@) while 7@ < 1 wait 10 7@ = SAMP.GetPlayerScore(6@) end 8@ = SAMP.GetPlayerNickname(6@) 10@ = SAMP.GetPlayerColor(6@) if 10@ == 16777215 then chatmsg "{F1C40F}[InfoTaxi]{B399F1} %s are nivel %d si este {FFFFFF}Civil" -1 8@ 7@ end
Thank you very much again for your assistance!
0 -
Just did a little test - with no additional wait time, the level is still 0 after getting it the second time.
With 100ms, the level is not 0 anymore. I will test a bit with lower values, like 50ms maybe.0 -
1 hour ago, Tupi said:
Yes, but this method makes the code double
1@ = GetPlayerScore(0@) if 1@ > 0 then ... some code else 1@ = GetPlayerScore(0@) if 1@ > 0 then ... some code end end
The simplest is to run the code twice
1@ = GetPlayerScore(0@) if 1@ > 0 then ... some code else chatmsg "Player level unrecognized. Please try again" -1 end
The idea is to have the player's level eventually, and not show an error.
What do you think of this implementation?
7@ = SAMP.GetPlayerScore(6@) if 7@ == 0 then 7@ = SAMP.GetPlayerScore(6@) end 8@ = SAMP.GetPlayerNickname(6@) 10@ = SAMP.GetPlayerColor(6@) if 10@ == 16777215 then chatmsg "{F1C40F}[InfoTaxi]{B399F1} %s are nivel %d si este {FFFFFF}Civil" -1 8@ 7@ end if 10@ == 16776960 then chatmsg "{F1C40F}[InfoTaxi]{B399F1} %s are nivel %d si este {FFFF00}Taximetrist" -1 8@ 7@ end
This section of code is in the "while" loop - should I have an additional "wait" before the second "GetPlayerScore"? If yes, how many miliseconds do you suggest? I mean, do you have enough experience with this part to know if an additional "wait" is necessary and how many miliseconds should this wait last before the script should do "GetPlayerScore" again?
Thank you very much for your assistance.
0 -
1 hour ago, Tupi said:
Hello,
The scoreboard is updated in real time. The problem is that when the player receives a reconnect to the server, the GetPlayerScore function must be used twice because on first use it detects that the player's level would be 0. The problem is with the language itself, not the scoreboard. The only way to get the right level of player is from the website but it is a bit difficult, it requires some lines of code and it takes a few seconds to find it, besides if the website is down, it doesn't work.
So I guess that I can get a player's score, check if it's 0, and if it's 0 I can just get it again, right?
0
Los Santos Taxi - Discuţii / Discussions
in Los Santos Taxi
Posted
Si aici: