Gabik 1 Odesláno: 1. Únor, 2009 Share Odesláno: 1. Únor, 2009 Prosim vas hladam a nemozem najst neco take duel do modu jak ma server ntp abo nejaky nema nekdo abo nenapise plz Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 1. Únor, 2009 Share Odesláno: 1. Únor, 2009 nechapem ta co chces vlastne? Link to comment Share on other sites More sharing options...
0 Gabik 1 Odesláno: 1. Únor, 2009 Author Share Odesláno: 1. Únor, 2009 duel ne nevies normal duel na takej jak streche ze /dueljoin id zbrane abo nejaky duel kde dam dj abo dueljoin a hram s dakym nevim jak to mam uz vysvetlit Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 1. Únor, 2009 Share Odesláno: 1. Únor, 2009 ved urob prikaz daj donho poziciu kde sa spawnu a ake zbrane Link to comment Share on other sites More sharing options...
0 Gabik 1 Odesláno: 1. Únor, 2009 Author Share Odesláno: 1. Únor, 2009 ja nejsem tak dobry v pawnu plz nespravis navod daky prosim Link to comment Share on other sites More sharing options...
0 ondra852 0 Odesláno: 1. Únor, 2009 Share Odesláno: 1. Únor, 2009 Mno, je to celkem jednoduchý, můžeš udělat třeba warp na tu střechu, dostaneš život, vestu a zbraň...... Třeba takhle if (strcmp("/dueljoin zbran", cmdtext, true, 10) == 0) //prikaz { SetPlayerPos(playerid,x,y,z);//teleportuje hráče GivePlayerWeapon(playerid,id zbrane,pocet naboju); //da zbran SetPlayerArmour(playerid, 100.0); //da vestu SetPlayerHealth(playerid, 100.0); // da život return 1; } PS: Můžeš k tomu přidat další funkce, třeba že se hráči odeberou ostatní zbraně atd. Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 1. Únor, 2009 Share Odesláno: 1. Únor, 2009 /dueljoin zbran ?? :-D takhle to teda nefunguje kdyžtak už mužeš dcmd...: dcmd_dueljoin(kecikeci...) { new zbranid = strval(params[0]); if(!params[0])return SendClientMessage(playerid, COLOR_BLUE, "Syxtance: /weapon [ ID Zbraně ]"); SetPlayerPos(playerid,x,y,z);//teleportuje hráče GivePlayerWeapon(playerid,zbranid,9999); //da zbran SetPlayerArmour(playerid, 100.0); //da vestu SetPlayerHealth(playerid, 100.0); // da život return 1; } pač nwm jak si to myslel Link to comment Share on other sites More sharing options...
0 ondra852 0 Odesláno: 1. Únor, 2009 Share Odesláno: 1. Únor, 2009 To byl jen příklad, místo zbraně si tam dá třeba m4 nebo uzi atd. A myslel jsem to tak, že bude duel třeba s m4 na jedne střeše, to bude /dueljoin m4 , potom třeba /dueljoin uzi , tobude jinde atd. Dal jsem jen příklad, jak se to dá udělam, samodřejmě, že je spoustu jinejch možností. Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 1. Únor, 2009 Share Odesláno: 1. Únor, 2009 jo jasně ale /dueljoin ZBRAN mi neslo do hlavy :-D Link to comment Share on other sites More sharing options...
0 Guest [*LoNg*]LiFe Odesláno: 5. Únor, 2009 Share Odesláno: 5. Únor, 2009 new pos; new id = strval(params), zbran = strval(params[pos]), string[128]; if( zbran < 0 || zbran > 48 ) return SendClientMessage(playerid, COLOR_farba, "[WTF?] ID 0 - 48 !"); GivePlayerWeapon(id, zbran, 999999); //neviem toto ja poriadne neviem:D dokonca ani v Admin scripte to nemam bo mi to neslo ale tu mas taku pomoc takto by to neako malo fungovat ... Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 7. Únor, 2009 Share Odesláno: 7. Únor, 2009 Nemyslis nahodou toto ? Link to comment Share on other sites More sharing options...
0 Gabik 1 Odesláno: 7. Únor, 2009 Author Share Odesláno: 7. Únor, 2009 jj presne to hladam diky moc vyriesene Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 14. Únor, 2009 Share Odesláno: 14. Únor, 2009 new pos;new id = strval(params), zbran = strval(params[pos]), string[128]; if( zbran < 0 || zbran > 48 ) return SendClientMessage(playerid, COLOR_farba, "[WTF?] ID 0 - 48 !"); GivePlayerWeapon(id, zbran, 999999); //neviem toto ja poriadne neviem:D dokonca ani v Admin scripte to nemam bo mi to neslo ale tu mas taku pomoc takto by to neako malo fungovat ... Sry ze jeste prudim: Ale proc tam mas 48 zbraní?? neni jich jen 46?? :wtf: a naboju 9999 :wtf: Link to comment Share on other sites More sharing options...
0 Rainmaker 0 Odesláno: 14. Únor, 2009 Share Odesláno: 14. Únor, 2009 Nemyslis nahodou toto ? Bylo by dobré, když tento FS takto veřejně rozposíláš, abys uvedl i autora toho kodu. Je to totiž komplet vytaženo ze Smrtakova LV-DM,MG,LG modu. Díky za pochopení. Link to comment Share on other sites More sharing options...
0 Guest gtaman Odesláno: 15. Únor, 2009 Share Odesláno: 15. Únor, 2009 Nemyslis nahodou toto ? TO EJ FAKT SI TAM MIESTO DUEL DAL DRAG Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 15. Únor, 2009 Share Odesláno: 15. Únor, 2009 keby si nebol taky deb*l a pozrel to cele by si tam videl aj duel Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 Ja to nedelal jen preposilam link Link to comment Share on other sites More sharing options...
0 Rainmaker 0 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 Ja to nedelal jen preposilam link No právě ... ale základem "kopírování" cizího kodu je, že uvedeš autora. Ten kod je Smrtaka. http://forum.sa-mp.com/index.php?topic=5459.0 Link to comment Share on other sites More sharing options...
0 Guest gignmansvk Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 Ja to nedelal jen preposilam link No právě ... ale základem "kopírování" cizího kodu je, že uvedeš autora. Ten kod je Smrtaka. http://forum.sa-mp.com/index.php?topic=5459.0 srz som enpoyrel celz pwn Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 co mas za problem?ved nie je starsi ako 2 mesiace Link to comment Share on other sites More sharing options...
Dotaz
Gabik 1
Prosim vas hladam a nemozem najst neco take duel do modu jak ma server ntp abo nejaky nema nekdo abo nenapise plz
Link to comment
Share on other sites
19 odpovědí na tuto otázku
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