Guest prezdivka Odesláno: 10. Listopad, 2008 Share Odesláno: 10. Listopad, 2008 toto predelat prosim hotovy tut jak udelat dcmd_mute(playerid, params[]) { //---------------------------------------| TestPrint("dcmd_mute(playerid, params[])"); //---------------------------------------| if(IsPlayerConnected(playerid)) { if(strlen(params) > 11) return SendClientMessage(playerid, B_BILA, "[ ! ] Chybne parametry!"); if(Informace[playerid][AdminLevel] < 1) return SendClientMessage(playerid, B_BILA, "Nemate dostatecny Admin-Level."); if(!strlen(params)) return SendClientMessage(playerid, B_BILA, "Pouziti: /mute [iD]"); new CMD_ID = strval(params); if(!IsPlayerConnected(CMD_ID)) return SendClientMessage(playerid, B_BILA, "Hrac neni pripojeny."); if(Informace[CMD_ID][umlceni]) return SendClientMessage(playerid, B_BILA, "Hrac uz je umlceny."); new string[220]; format(string, sizeof(string), "[!] Byl jste umlcen Administratorem %s.", Jmeno(playerid)); SendClientMessage(CMD_ID, B_BILA, string); format(string, sizeof(string), "[!] Hrac %s byl umlcen Administratorem %s.", Jmeno(CMD_ID), Jmeno(playerid)); SendClientMessageToAll(B_ORAN, string); Informace[CMD_ID][umlceni] = 1; } return 1; nevím jak to udelat na cas Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 10. Listopad, 2008 Share Odesláno: 10. Listopad, 2008 treba abych napsal /mute id a ted treba 30 // chtel bych to 30 na sekundy Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 10. Listopad, 2008 Share Odesláno: 10. Listopad, 2008 použij mcmd nebo normálně i dcmd, a pak si udělej settimer .... Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 10. Listopad, 2008 Share Odesláno: 10. Listopad, 2008 ale boze jak :shock: napis kod ja jsem dnes uplne vyzdimanej shanel sem navody a uz nemuzu prosim Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 10. Listopad, 2008 Share Odesláno: 10. Listopad, 2008 ale boze jak :shock: napis kod ja jsem dnes uplne vyzdimanej shanel sem navody a uz nemuzu prosim To je jako výmluva nebo to fakt nevíš? Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 10. Listopad, 2008 Share Odesláno: 10. Listopad, 2008 Udelam na to zitra tut.. Link to comment Share on other sites More sharing options...
0 maic 0 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 Já sem to v t Maikeroo Town 2 udělal vylepšil takto: dcmd_mute(playerid, params[]) { //---------------------------------------| TestPrint("dcmd_mute(playerid, params[])"); //---------------------------------------| if(IsPlayerConnected(playerid)) { if(Informace[playerid][AdminLevel] < 4) return SendClientMessage(playerid, B_BILA, "Nemate dostatecny Admin-Level."); new pos; if(!params[0] || !(pos = chrfind(' ', params) + 1) || !params[pos]) return SendClientMessage(playerid, B_BILA, "Pouziti: /mute [iD] [MINUT 1-10]"); new CMD_ID = strval(params), pocet = strval(params[pos]), string[256]; if(Informace[CMD_ID][umlceni] == 1) return SendClientMessage(playerid, B_BILA, "[ ! ] Hrac uz je umlceny."); if(!IsPlayerConnected(CMD_ID)) return SendClientMessage(playerid, B_BILA, "Hrac neni pripojeny."); format(string, sizeof(string), "[!] Byl jste umlcen Administratorem %s. Odmlcen budes za %d minuty.", Jmeno(playerid), pocet); SendClientMessage(CMD_ID, B_BILA, string); format(string, sizeof(string), "[!] Hrac %s byl umlcen Administratorem %s. Odmlcen bude za %d minuty.", Jmeno(CMD_ID), Jmeno(playerid), pocet); SendClientMessageToAll(B_ORAN, string); Informace[CMD_ID][umlceni] = 1; Informace[CMD_ID][umlceniCount] = pocet; } return 1; } Snad vám to nějak pomůže :thumbup: EDIT: // Nyní tam pojistka kolik se ma nastavit minut, ale tu si tam snad přidáte ne.. pochybuju že někdo dostane ban mute na více jak 10 minut Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 A co třeba k tomu dát definice. Takhle to asi nikomu nepomůže. May zkušeným pawnetrům který pomoct nepotřebují Dej si to do pawna a vyřeš errory Pak to sem dej :rap: Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 viewtopic.php?f=22&t=901 Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 zatím dik dyztak si vezmu od Chytraka Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 a nejaky foward ?mi to haze dost erroraku Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 on tam nema define Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 LoL jsem to psal Musíš sám. Ale spíš si udělej ten kterej má chytrak tenhle je z MT Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 a naky foward ? Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 ho potrebuju dajte to chci na s a od chytraka davat kazdymu blbcoj RCOn se mi nechce Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 ho potrebuju dajte to chci na s a od chytraka davat kazdymu blbcoj RCOn se mi nechce Jestli to chceš kopčit přímo z modu tak to si porad sám :mrgreen: Link to comment Share on other sites More sharing options...
0 maic 0 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 [email protected]":24nlozup]A co třeba k tomu dát definice. Takhle to asi nikomu nepomůže. May zkušeným pawnetrům který pomoct nepotřebují Dej si to do pawna a vyřeš errory Pak to sem dej :rap: Žádný errory tam nejsou. A když nepochopíš jednoduchý kód tak se do toho pawna neser. Kdybys četl pozorně tak sem to uvedl jako příklad ! Definice a proměné si každej uloží sám Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 [email protected]":175uown1]A co třeba k tomu dát definice. Takhle to asi nikomu nepomůže. May zkušeným pawnetrům který pomoct nepotřebují Dej si to do pawna a vyřeš errory Pak to sem dej :rap: Žádný errory tam nejsou. A když nepochopíš jednoduchý kód tak se do toho pawna neser. Kdybys četl pozorně tak sem to uvedl jako příklad ! Definice a proměné si každej uloží sám at zije inteligence !!! no nvm bylo by slusnost to novackum vysvetlit ja sam sem lamka priznavam a nemusis se hned rozcilovat Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 11. Listopad, 2008 Share Odesláno: 11. Listopad, 2008 hele maic ty si taky za začátku nechápal jednoduchý kódy atp... tak bych radši bejt tebou mlčel, všechno je jednou poprvně Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 12. Listopad, 2008 Share Odesláno: 12. Listopad, 2008 [email protected]":hzb38q9n]A co třeba k tomu dát definice. Takhle to asi nikomu nepomůže. May zkušeným pawnetrům který pomoct nepotřebují Dej si to do pawna a vyřeš errory Pak to sem dej :rap: Žádný errory tam nejsou. A když nepochopíš jednoduchý kód tak se do toho pawna neser. Kdybys četl pozorně tak sem to uvedl jako příklad ! Definice a proměné si každej uloží sám Toho smajla sis tedkon mohl odpustit ptž si mě nasral xD řekl jsem že začátečník si ty errory nevyřeší. Proto když to někomu posíláš tak jako by si dělal tut takže je to lepší i s definicema. Jen aby to ty začátečníci měli taky. Oni si ty definice sami neudělají a pak tu zase bude milion otázek chápeš. Myslel jsem to dobře tak se uklidni! Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 14. Listopad, 2008 Share Odesláno: 14. Listopad, 2008 a kde ze je presne ta pojistka bych si ji dodelal ? Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 14. Listopad, 2008 Share Odesláno: 14. Listopad, 2008 supeer funguje ot na 100 % pise mi to krasnych 26 erroru C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2256) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2262) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2287) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2292) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2311) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2331) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2361) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2378) : error 017: undefined symbol "PlayerIp" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2388) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2404) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2405) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2406) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2458) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2504) : error 017: undefined symbol "GetJobColor" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2541) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2549) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2589) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2648) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2708) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2746) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2763) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2795) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2814) : error 017: undefined symbol "TestPrint" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2822) : error 017: undefined symbol "Jmeno" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2830) : error 017: undefined symbol "dcmd_s" C:\Documents and Settings\Luboš\Plocha\Pracovna SA-MP\samp022\gamemodes\mtv3.pwn(2831) : error 017: undefined symbol "dcmd_p" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 14. Listopad, 2008 Share Odesláno: 14. Listopad, 2008 nemáš nic nadefinovaný ... Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 14. Listopad, 2008 Share Odesláno: 14. Listopad, 2008 z maikeroo town 2 se ti dobre kopiruje ze ? n00b is niCe Link to comment Share on other sites More sharing options...
0 Guest prezdivka Odesláno: 14. Listopad, 2008 Share Odesláno: 14. Listopad, 2008 povedeny Adminscript ten si beru sam bych to neudelal a ty taky nejsi moc cistej ale ja to klidne priznam ze dcmd este neumi a sem lama... Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 14. Listopad, 2008 Share Odesláno: 14. Listopad, 2008 lepší přiznat než zapírat něco co je pravda Link to comment Share on other sites More sharing options...
Dotaz
Guest prezdivka
toto predelat prosim hotovy tut jak udelat
nevím jak to udelat na cas
Link to comment
Share on other sites
31 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