kaze 0 Odesláno: 28. Prosinec, 2010 Share Odesláno: 28. Prosinec, 2010 Sorry že píšem do starého topicu ... ale urobil som si tu registráciu ... ale príde mi tam veľa nedostatkov ... mohli by ste ktomu ešte niekto urobiť ... je tam taká chyba ... aj keď není hráč registrovaný alebo prihlásený a dá spawn ... tak ho to spawne bez registrácie ... a ešte není tam urobené to .. že keď si tam nastavíte uloženie pozície ... tak vám sa uloží pozícia ale nový hráč sa spawne pod mapu ... lebo to není potom urobené pre druhého hráča ten spawn .. lebo setplayerpos ste museli odstrániť lebo by sa vám neukladala pozícia ... Takže kto by bol taky ochotný a opravil tieto bugy? Ďakujem Link to comment Share on other sites More sharing options...
Lax. 28 Odesláno: 28. Prosinec, 2010 Share Odesláno: 28. Prosinec, 2010 spravíš si že ak hráč klikne na druhé tlačidlo že ho to kickne, alebo do OnPlayerRequestSpawn(playerid) si dáš funkcie aby ak sa neprihlási nepustí dalej Link to comment Share on other sites More sharing options...
kaze 0 Odesláno: 28. Prosinec, 2010 Share Odesláno: 28. Prosinec, 2010 spravíš si že ak hráč klikne na druhé tlačidlo že ho to kickne, alebo do OnPlayerRequestSpawn(playerid) si dáš funkcie aby ak sa neprihlási nepustí dalej no ale ja som sa pýtal či to niekto do toho nedorobí teda ... urob to a pošli mi to na ICQ stačí tu podmienku Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 28. Prosinec, 2010 Share Odesláno: 28. Prosinec, 2010 aj keď není hráč registrovaný alebo prihlásený a dá spawn ... tak ho to spawne bez registrácie ... Dej si v u dialogu místo if(response == 2) { Kick } if(response == 0) Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 ludia ja som skúsil všetky tie vaše PlayerName stále mi to nejde stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } toto atd... C:\Users\Danny\Desktop\npm.pwn(453) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(476) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(856) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(858) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(870) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(872) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(1009) : warning 203: symbol is never used: "strtok" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors. 476 = dUserSetINT(PlayerName(playerid)).("money",GetPlayerMoney(playerid)); 856 = if (udb_Exists(PlayerName(playerid))) return ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Registrace","Přihlaš se ! napiš heslo","Použít","Odpojit"); 858 = if (udb_Create(PlayerName(playerid),inputtext)) return ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Registrace","Víborně, nyní napiš znovu heslo !","Použít","Odpojit"); 870 = if (udb_CheckLogin(PlayerName(playerid),inputtext)) 872 = GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("money")-GetPlayerMoney(playerid)); Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 ludia ja som skúsil všetky tie vaše PlayerName stále mi to nejde stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } toto atd... C:\Users\Danny\Desktop\npm.pwn(453) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(476) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(856) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(858) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(870) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(872) : error 017: undefined symbol "PlayerName" C:\Users\Danny\Desktop\npm.pwn(1009) : warning 203: symbol is never used: "strtok" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors. 476 = dUserSetINT(PlayerName(playerid)).("money",GetPlayerMoney(playerid)); 856 = if (udb_Exists(PlayerName(playerid))) return ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Registrace","Přihlaš se ! napiš heslo","Použít","Odpojit"); 858 = if (udb_Create(PlayerName(playerid),inputtext)) return ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Registrace","Víborně, nyní napiš znovu heslo !","Použít","Odpojit"); 870 = if (udb_CheckLogin(PlayerName(playerid),inputtext)) 872 = GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("money")-GetPlayerMoney(playerid)); Myslim ze string 255 neni zkus to nahradit 256 a kdyz ani to nepomuze tak ja to mam takto: stock PlayerName(playerid) { new name[MAX_PLAYER_NAME]; if(IsPlayerConnected(playerid)) GetPlayerName(playerid, name, MAX_PLAYER_NAME); return name; } Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 Myslim ze string 255 neni zkus to nahradit 256 ted si napsal uplnou kravinu.. stejne MAX_PLAYER_NAME == 24 ale to je jedno co tam ma v array (pole) Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 nejde Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 nejde Koukni na muj predchozi prispevek ten stock by mel byt dobre Myslim ze string 255 neni zkus to nahradit 256 ted si napsal uplnou kravinu.. stejne MAX_PLAYER_NAME == 24 ale to je jedno co tam ma v array (pole) Ja ani nwm k cemu presne sou ty cisla u stringu ale nekdo rikal ze existuje jen 128 a 256 nebo jak to bylo. Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 ani ten nejde a to mi ešte boban napísal na skype Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 ani ten nejde a to mi ešte boban napísal na skype Cože! To neni mozny OMG! Nemáš tam třeba ten stock 2x,jediny mozny reseni co me ted napada ale to je asi blbost je sem po ranu vzdycky uplne zhuleny Link to comment Share on other sites More sharing options...
kaze 0 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 Ja tu registračku som robil pred dvomi dňami do nového módu a ide mi .... v poho ale tento stock použi 100 percent ti pôjde stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } return 1; } stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } Tieto dva použi ... mne to ide bez problémov Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 Ja tu registračku som robil pred dvomi dňami do nového módu a ide mi .... v poho ale tento stock použi 100 percent ti pôjde stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } Rikam si ze vubec neumis cist Hodil si sem upe stejne stock s jakym ma Danny problemy OMG! Link to comment Share on other sites More sharing options...
kaze 0 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 Ja tu registračku som robil pred dvomi dňami do nového módu a ide mi .... v poho ale tento stock použi 100 percent ti pôjde stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } Rikam si ze vubec neumis cist Hodil si sem upe stejne stock s jakym ma Danny problemy OMG! Ale on tam musí mať obydva stocky ... mne to ide keď tam mám dva stocky PlayerName nech to skúsi ! Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 Ja tu registračku som robil pred dvomi dňami do nového módu a ide mi .... v poho ale tento stock použi 100 percent ti pôjde stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } Rikam si ze vubec neumis cist Hodil si sem upe stejne stock s jakym ma Danny problemy OMG! Ale on tam musí mať obydva stocky ... mne to ide keď tam mám dva stocky PlayerName nech to skúsi ! Dva stejny stocky? To je kravina.... Link to comment Share on other sites More sharing options...
kaze 0 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 Tieto nech si dá na koniec módu ! ale na koniec módu nie na začiatok //-------------------[ STOCKS ]-------------------------------------------------stock SystemMsg(playerid,msg[]) { if ((IsPlayerConnected(playerid))&&(strlen(msg)>0)) { SendClientMessage(playerid,COLOR_SYSTEM,msg); } stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } return 1; } //--------------------------------------| stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } //-------------------[ STOCKS END ]--------------------------------------------- Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 nejde... všetko rovnaké... už som skúšal všetky... stále tie isté errory... Link to comment Share on other sites More sharing options...
kaze 0 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 nejde... všetko rovnaké... už som skúšal všetky... stále tie isté errory... To je divné ... musí ti tam niečo chýbať .... sto percent ... lebo mne ide v poho Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 robil som presne podla návodu no nekopíroval odpisoval... možno som niečo zabudol prekukám to... ale mne sa zdá že nie... lebo som to prekukával pri písaní Link to comment Share on other sites More sharing options...
2killer2 0 Odesláno: 7. Leden, 2011 Share Odesláno: 7. Leden, 2011 Mám errory na dutils a dudb ale mam je v include pls help D:\Documents and Settings\Linas System\Plocha\@Warilock@\OTHER\SAMP SERVER 0.3C\gamemodes\ANormalLife0.1.pwn(13) : fatal error 100: cannot read from file: "dutils" D:\Documents and Settings\Linas System\Plocha\@Warilock@\OTHER\SAMP SERVER 0.3C\gamemodes\ANormalLife0.1.pwn(13) : fatal error 100: cannot read from file: "dudb" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Error. Link to comment Share on other sites More sharing options...
-GSG-Nuke 1 Odesláno: 7. Leden, 2011 Share Odesláno: 7. Leden, 2011 sorry že se ptám ale máš INC dudb?? Link to comment Share on other sites More sharing options...
2killer2 0 Odesláno: 7. Leden, 2011 Share Odesláno: 7. Leden, 2011 Ano mam Link to comment Share on other sites More sharing options...
NoN@me 0 Odesláno: 20. Leden, 2011 Share Odesláno: 20. Leden, 2011 C:\Users\MaxKing\Desktop\village\gamemodes\TestServer.pwn(341) : warning 203: symbol is never used: "ret_memcpy" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Warning. Jak to mám vyriešiť?? -- čtv 20. led 2011 18:07:01 -- Proč mi to nejde v 0.3c ?? Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 21. Leden, 2011 Share Odesláno: 21. Leden, 2011 Zkopiroval jsi celou registraci? Az tam budes mit vsechno co je v modu napsano tak ten warning zmizi, KDYZ BY NEZMIZEL POTOM! tak dej nahoru #pragma unused ret_memcpy Link to comment Share on other sites More sharing options...
Guest skyni-gta Odesláno: 4. Únor, 2011 Share Odesláno: 4. Únor, 2011 C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(58) : warning 217: loose indentation C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(60) : error 017: undefined symbol "PlayerName" C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(73) : error 017: undefined symbol "PlayerName" C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(245) : error 017: undefined symbol "PlayerName" C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(247) : error 017: undefined symbol "PlayerName" C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(249) : warning 217: loose indentation C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(255) : warning 217: loose indentation C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(260) : error 017: undefined symbol "PlayerName" C:\Documents and Settings\MAREK\Plocha\gta srv\pawno\mareksp.pwn(262) : error 017: undefined symbol "PlayerName" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Link to comment Share on other sites More sharing options...
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