salut,am un plugin de ceva vreme pe serverul meu si as vrea sa-l perfectionez , adica sa-l fac mai pe placul meu.
In primul rand as vrea sa ma ajutati sa rezolv erorile din el,de compilat mi-l compileaza dar cu cateva erori.am facut o poza sa vedeti despre ce e vorba.
Este un plugin de vip simplu, pentru modul deathrun.
Vreau sa scap de erorile din plugin mai mult caci, din din cauza lor imi pot ingreuna serverul sau chiar mai rau sa-l pice.
Sursa pluginului:
Dau +Multumesc celor care ma ajuta. :D
mici erori la compilare
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
- Membru, skill 0
- Posts: 90
- Joined: 18 Mar 2013, 14:48
- Detinator Steam: Nu
- CS Status: Cautam Admini
- Detinator server CS: Drx.FhG.RO
- Has thanked: 23 times
- Been thanked: 1 time
- Contact:
-
- Fost moderator
- Posts: 9362
- Joined: 06 Jul 2013, 22:08
- Detinator Steam: Da
- Detinator server CS: Nu
- Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn - Has thanked: 492 times
- Been thanked: 547 times
Ca sa numai intampini astfel de warninguri si altadata iti recomand sa downloadezi amxx studio apesi pe ctrl+i si ti le face singur.
- Truth*
- Scripter eXtreamCS
- Posts: 766
- Joined: 11 Oct 2013, 11:08
- Detinator Steam: Da
- SteamID: Ezeru
- Reputatie: Fost moderator ajutator
Membru Club eXtreamCS (4 luni)
Nume anterior: HyperioN.
Scripter eXtreamCS
0.2 / 3 - Fond eXtream: 0
- Location: Sibiu
- Has thanked: 44 times
- Been thanked: 122 times
Cel mai simplu ar fi sa adaugi intre #include si #define "" asa o sa scapi de toate erorile de genu...
Code: Select all
#pragma tabsize 0
P.S.: Netestat = Nu am avut timp să mă uit atent peste cod. Deci ceea ce am scris este posibil să fie greşit sau să aibă erori.
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
-
- Membru, skill 0
- Posts: 90
- Joined: 18 Mar 2013, 14:48
- Detinator Steam: Nu
- CS Status: Cautam Admini
- Detinator server CS: Drx.FhG.RO
- Has thanked: 23 times
- Been thanked: 1 time
- Contact:
ok multumesc.. si daca as vrea sa se adauge un menu la el si inca 2 iteme cum ar fi invizibilitate si gravity,trebuie sa fac alt topic? :D
- Truth*
- Scripter eXtreamCS
- Posts: 766
- Joined: 11 Oct 2013, 11:08
- Detinator Steam: Da
- SteamID: Ezeru
- Reputatie: Fost moderator ajutator
Membru Club eXtreamCS (4 luni)
Nume anterior: HyperioN.
Scripter eXtreamCS
0.2 / 3 - Fond eXtream: 0
- Location: Sibiu
- Has thanked: 44 times
- Been thanked: 122 times
Nup.Spune le vrei intr-un meniu sau cum le vrei ?
P.S.: Netestat = Nu am avut timp să mă uit atent peste cod. Deci ceea ce am scris este posibil să fie greşit sau să aibă erori.
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
-
- Fost moderator
- Posts: 9362
- Joined: 06 Jul 2013, 22:08
- Detinator Steam: Da
- Detinator server CS: Nu
- Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn - Has thanked: 492 times
- Been thanked: 547 times
if(get_user_team(id) == 1) // inseamna doar T
else if(get_user_team(id) == 2) // inseamna doar pentru CT
intre acoladele la una din ele adaugi daca vrei de exemplu speed: set_user_maxspeed(id, 500.0) // 500 reprezinta viteza,sunt multe de spus..uite-te peste alte pluginuri si iti dai seama ;)
else if(get_user_team(id) == 2) // inseamna doar pentru CT
intre acoladele la una din ele adaugi daca vrei de exemplu speed: set_user_maxspeed(id, 500.0) // 500 reprezinta viteza,sunt multe de spus..uite-te peste alte pluginuri si iti dai seama ;)
-
- Membru, skill 0
- Posts: 90
- Joined: 18 Mar 2013, 14:48
- Detinator Steam: Nu
- CS Status: Cautam Admini
- Detinator server CS: Drx.FhG.RO
- Has thanked: 23 times
- Been thanked: 1 time
- Contact:
stiu scosmynnnn, ma mai pricep sa mai modificat cate ceva din pluginuri.de exemplu la asta am modificat din speed 500 cat avea cand l-am luat in 700,la deagle din 5 gloante la 7..
dar sa adaug alte linii cum am spus mai sus "invizibilitate,gravity",mi se pare cam greu de aceea recurg la ajutorul vostru.
nu stiu ..ma gandeam la ceva mai unicat,asta doar daca va pricepeti.de exemplu acel meniu sa se activeze printr-o comanda in say (exemplu: /vipmenu )deoarece am pe server menu pentru tero ,care ala apare automat la inceputu rundei,si nu as vrea sa se bata cap in cap meniu de la vip cu cel de la tero in caz ca intra la echipa tero un VIP.
Cs_SURV!V0R , deocamdata e suficient sa fie adaugate in acest menu invizibilitate si gravity,si celelalte iteme care sunt in plugin.(deagle,500hp,700 speed,5 grenade).VIP in score board si glow sa fie lasate asa adica fara activare/dezactivare din menu.
* daca tot reusiti sa adaugati un menu la plugin as vrea sa se adauge o optiune ,sa nu se poata selecta mai mult de 2 iteme pe runda.(sau exemplu daca alegi invizibilitate sa nu poti selecta si viata.in concluzie sa nu fie prea mare avantaj la VIPI.)asta ramane o paranteza,poate aveti voi idei mai interesante.* + MULTUMESC! :D
dar sa adaug alte linii cum am spus mai sus "invizibilitate,gravity",mi se pare cam greu de aceea recurg la ajutorul vostru.
nu stiu ..ma gandeam la ceva mai unicat,asta doar daca va pricepeti.de exemplu acel meniu sa se activeze printr-o comanda in say (exemplu: /vipmenu )deoarece am pe server menu pentru tero ,care ala apare automat la inceputu rundei,si nu as vrea sa se bata cap in cap meniu de la vip cu cel de la tero in caz ca intra la echipa tero un VIP.
Cs_SURV!V0R , deocamdata e suficient sa fie adaugate in acest menu invizibilitate si gravity,si celelalte iteme care sunt in plugin.(deagle,500hp,700 speed,5 grenade).VIP in score board si glow sa fie lasate asa adica fara activare/dezactivare din menu.
* daca tot reusiti sa adaugati un menu la plugin as vrea sa se adauge o optiune ,sa nu se poata selecta mai mult de 2 iteme pe runda.(sau exemplu daca alegi invizibilitate sa nu poti selecta si viata.in concluzie sa nu fie prea mare avantaj la VIPI.)asta ramane o paranteza,poate aveti voi idei mai interesante.* + MULTUMESC! :D
- Truth*
- Scripter eXtreamCS
- Posts: 766
- Joined: 11 Oct 2013, 11:08
- Detinator Steam: Da
- SteamID: Ezeru
- Reputatie: Fost moderator ajutator
Membru Club eXtreamCS (4 luni)
Nume anterior: HyperioN.
Scripter eXtreamCS
0.2 / 3 - Fond eXtream: 0
- Location: Sibiu
- Has thanked: 44 times
- Been thanked: 122 times
#:-s #:-s #:-s Poftim cred ca asta este ce vrei :
P.S.: Netestat = Nu am avut timp să mă uit atent peste cod. Deci ceea ce am scris este posibil să fie greşit sau să aibă erori.
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
-
- Membru, skill 0
- Posts: 90
- Joined: 18 Mar 2013, 14:48
- Detinator Steam: Nu
- CS Status: Cautam Admini
- Detinator server CS: Drx.FhG.RO
- Has thanked: 23 times
- Been thanked: 1 time
- Contact:
sunt si mici probleme observ.glow nu mai exista,viteza 700 se activeaza singura(as vrea sa se poata selecta din menu).
meniul nu apare la comanda /vipmenu.
meniul nu apare la comanda /vipmenu.
- Truth*
- Scripter eXtreamCS
- Posts: 766
- Joined: 11 Oct 2013, 11:08
- Detinator Steam: Da
- SteamID: Ezeru
- Reputatie: Fost moderator ajutator
Membru Club eXtreamCS (4 luni)
Nume anterior: HyperioN.
Scripter eXtreamCS
0.2 / 3 - Fond eXtream: 0
- Location: Sibiu
- Has thanked: 44 times
- Been thanked: 122 times
Poftim incearca :
P.S.: Netestat = Nu am avut timp să mă uit atent peste cod. Deci ceea ce am scris este posibil să fie greşit sau să aibă erori.
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
-
- Membru, skill 0
- Posts: 90
- Joined: 18 Mar 2013, 14:48
- Detinator Steam: Nu
- CS Status: Cautam Admini
- Detinator server CS: Drx.FhG.RO
- Has thanked: 23 times
- Been thanked: 1 time
- Contact:
tot nu vrea sa apara meniul. :-< apropo daca e simplu de modificat poti scoate celelalte comenzi /vip si /vips ca sunt inutile,am pluginul ultimate_who si apar acolo vip-urile online. :D
-
- Membru, skill 0
- Posts: 90
- Joined: 18 Mar 2013, 14:48
- Detinator Steam: Nu
- CS Status: Cautam Admini
- Detinator server CS: Drx.FhG.RO
- Has thanked: 23 times
- Been thanked: 1 time
- Contact:
UPP!! Nu ma poate ajuta nimeni? :-?