Guest Oraj Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 postupoval som podla tohto tut http://www.play-zone.mteam.cz/forum/vie ... hread_id=9" onclick="window.open(this.href);return false; vypisuje: C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : error 017: undefined symbol "PLAYERLIST_authed" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : warning 215: expression has no effect C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : error 001: expected token: ";", but found "]" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : error 029: invalid expression, assumed zero C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. 76 riadok PLAYERLIST_authed[playerid]=false; pls som lama nemusite to komentovat........... pls co a kde mam dolpnit pripadne vymazat Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 new PLAYERLIST_authed[MAX_PLAYERS]; nekam do modu Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 máš nahoře #include a #include ??? :wtf: Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 Daw3":10jn7mw2]máš nahoře #include a #include ??? :wtf: lol co ma s tim spolecneho neumis cist ? Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 tak momentalne mi to uz pise C:\Users\Tomas\Desktop\pawno\include\dudb.inc(26) : fatal error 100: cannot read from file: "dini" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. pripadne kde mam chyby #include #include #include new PLAYERLIST_authed[MAX_PLAYERS]; #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 #define COLOR_SYSTEM 0xEFEFF7AA stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } stock SystemMsg(playerid,msg[]) { if ((IsPlayerConnected(playerid))&&(strlen(msg)>0)) { SendClientMessage(playerid,COLOR_SYSTEM,msg); } return 1; } main() { //Message shown in server window print("Zdravim"); print("[CZ/SK] Skuska"); // gtam.cz print("Neuveritelná zábava"); } public OnGameModeInit() { SetGameModeText("Neuveritelna blbost"); //Mode name in server browser AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid){ PLAYERLIST_authed[playerid]=false; return 1; } public OnPlayerDisconnect(playerid, reason) { if (PLAYERLIST_authed[playerid]) { // Was loggedin, so save the data! dUserSetINT(PlayerName(playerid)).("money",GetPlayerMoney(playerid)); dUserSetINT(PlayerName(playerid)).("ridicak",ridicak[playerid]); dUserSetINT(PlayerName(playerid)).("povolani",iPlayerRole[playerid]); } PLAYERLIST_authed[playerid]=false; return false; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cake", cmdtext, true, 5) == 0) { // User typed /cake return 1; } return 0; } public OnPlayerInfoChange(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnVehicleRespray(vehicleid, color1, color2) { return 1; } public OnVehicleMod(vehicleid, componentid) { return 1; } /* * /register password * */ dcmd_register(playerid,params[]) { // The command shouldn't work if we already are authed if (PLAYERLIST_authed[playerid]) return SystemMsg(playerid,"Already authed."); // The command shouldn't work if an account with this // nick already exists if (udb_Exists(PlayerName(playerid))) return SystemMsg(playerid,"Učet už existuje napíš /login heslo."); // Did he forgot the password? if (strlen(params)==0) return SystemMsg(playerid,"Musíš sa zaregistrovať /register heslo"); // We save the money to the accstate if (udb_Create(PlayerName(playerid),params)) return SystemMsg(playerid,"Učet bol vytvorený, teraz sa prihlás /login heslo."); return true; } /* * /login password * */ dcmd_login(playerid,params[]) { // The command shouldn't work if we already are authed if (PLAYERLIST_authed[playerid]) return SystemMsg(playerid,"Already authed."); // The command shouldn't work if an account with this // nick does not exists if (!udb_Exists(PlayerName(playerid))) return SystemMsg(playerid,"Učet neexistuje, použi /register heslo"); // Did he forgot the password? if (strlen(params)==0) return SystemMsg(playerid,"Musíš sa prihlásiť /login heslo"); if (udb_CheckLogin(PlayerName(playerid),params)) { // Login was correct // Following thing is the same like the missing SetPlayerCommand GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("money")-GetPlayerMoney(playerid)); PLAYERLIST_authed[playerid]=true; return SystemMsg(playerid,"Si prihlásený!"); } // Login was incorrect return SystemMsg(playerid,"Zlé heslo!"); } Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 nemas include dini ...pawno.707.cz najdi si ho tam Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 no dal som ho tam a vyhodilo mi dalsie chyby ja som z toho kkt C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : error 017: undefined symbol "ridicak" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : warning 215: expression has no effect C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : error 001: expected token: ";", but found "]" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : error 029: invalid expression, assumed zero C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. ked som vyhodil povolani a ridicak tak mi vyhodilo C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(217) : warning 203: symbol is never used: "dcmd_login" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(217) : warning 203: symbol is never used: "dcmd_register" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Warnings. ked tam budem chcet vodicky tak ho ako nadefinujem ci co s tym ??? Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 VYŘEŠIL JSEM SI TO :-D napsal jsem to v tom "Jiný návod" Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 VYŘEŠIL JSEM SI TO :-D napsal jsem to v tom "Jiný návod" :spam: omg nejaka lama potrebuje pomoc a ty jej to tu spamujes ............... Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 Hmm hlavně že ty nejsi lama když pišeš do 3měsíce starýho příspěvku viď ty lamo? ja aspon přiznám že sem lama lamo...hlavně že ja spamuju a ty ne.. Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 no som lama skusal som vodicak, a proste mi vzdy padne PAWN a nvm preco Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 Už nwm podle čeho to mam ale přes co to maš ty? myslim že ja to mam podle tutu tady...ale je to jen řidičák na koupení... hledej možna je to v Seznamu navodu zkus http://www.pawno.cz/search.php a najdi "Seznam nav" nebo neco podobnyho nebo nekde v Navody to najdeš myslim v 3 stránce... Ale já už du... Kdybys to nenašel tak to zkusim najit :-D Good night all! Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 Hele tobě ty rady fakt moc nejdou.. BTW pošli mi řádek s tím errorem... Chybí ti tam něco ... Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 jediny problem ze mi pise neexistujuci riadok tu je znova ta chyba C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(184) : warning 203: symbol is never used: "dcmd_login" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(184) : warning 203: symbol is never used: "dcmd_register" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. #include #include #include new PLAYERLIST_authed[MAX_PLAYERS]; #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 #define COLOR_SYSTEM 0xEFEFF7AA stock PlayerName(playerid) { new name[255]; GetPlayerName(playerid, name, 255); return name; } stock SystemMsg(playerid,msg[]) { if ((IsPlayerConnected(playerid))&&(strlen(msg)>0)) { SendClientMessage(playerid,COLOR_SYSTEM,msg); } return 1; } main() { //Message shown in server window print("Zdravim"); print("[CZ/SK] Skuska"); // gtam.cz print("Neuveritelná zábava");} public OnGameModeInit() { SetGameModeText("Neuveritelna blbost"); //Mode name in server browser AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1;} public OnGameModeExit() { return 1;} public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1;} public OnPlayerRequestSpawn(playerid) { return 1;} public OnPlayerConnect(playerid){ PLAYERLIST_authed[playerid]=false; return 1;} public OnPlayerDisconnect(playerid, reason){ if (PLAYERLIST_authed[playerid]) { // Was loggedin, so save the data! dUserSetINT(PlayerName(playerid)).("money",GetPlayerMoney(playerid)); } PLAYERLIST_authed[playerid]=false; return false;} public OnPlayerSpawn(playerid) { return 1;} public OnPlayerDeath(playerid, killerid, reason) { return 1;} public OnVehicleSpawn(vehicleid) { return 1;} public OnVehicleDeath(vehicleid, killerid) { return 1;} public OnPlayerText(playerid, text[]) { return 1;} public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1;} public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cake", cmdtext, true, 5) == 0) { // User typed /cake return 1;} return 0;} public OnPlayerInfoChange(playerid) { return 1;} public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1;} public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1;} public OnPlayerExitVehicle(playerid, vehicleid) { return 1;} public OnPlayerStateChange(playerid, newstate, oldstate) { return 1;} public OnPlayerEnterCheckpoint(playerid) { return 1;} public OnPlayerLeaveCheckpoint(playerid) { return 1;} public OnPlayerEnterRaceCheckpoint(playerid) { return 1;} public OnPlayerLeaveRaceCheckpoint(playerid) { return 1;} public OnRconCommand(cmd[]) { return 1;} public OnObjectMoved(objectid) { return 1;} public OnPlayerObjectMoved(playerid, objectid) { return 1;} public OnPlayerPickUpPickup(playerid, pickupid) { return 1;} public OnPlayerSelectedMenuRow(playerid, row) { return 1;} public OnPlayerExitedMenu(playerid) { return 1;} public OnVehicleRespray(vehicleid, color1, color2) { return 1;} public OnVehicleMod(vehicleid, componentid) { return 1;} /* * /register password * */ dcmd_register(playerid,params[]) { // The command shouldn't work if we already are authed if (PLAYERLIST_authed[playerid]) return SystemMsg(playerid,"Already authed."); // The command shouldn't work if an account with this // nick already exists if (udb_Exists(PlayerName(playerid))) return SystemMsg(playerid,"Učet už existuje napíš /login heslo."); // Did he forgot the password? if (strlen(params)==0) return SystemMsg(playerid,"Musíš sa zaregistrovať /register heslo"); // We save the money to the accstate if (udb_Create(PlayerName(playerid),params)) return SystemMsg(playerid,"Učet bol vytvorený, teraz sa prihlás /login heslo."); return true; } /* * /login password * */ dcmd_login(playerid,params[]) { // The command shouldn't work if we already are authed if (PLAYERLIST_authed[playerid]) return SystemMsg(playerid,"Already authed."); // The command shouldn't work if an account with this // nick does not exists if (!udb_Exists(PlayerName(playerid))) return SystemMsg(playerid,"Učet neexistuje, použi /register heslo"); // Did he forgot the password? if (strlen(params)==0) return SystemMsg(playerid,"Musíš sa prihlásiť /login heslo"); if (udb_CheckLogin(PlayerName(playerid),params)) { // Login was correct // Following thing is the same like the missing SetPlayerCommand GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("money")-GetPlayerMoney(playerid)); PLAYERLIST_authed[playerid]=true; return SystemMsg(playerid,"Si prihlásený!"); } // Login was incorrect return SystemMsg(playerid,"Zlé heslo!"); } pls mohol by si mi to tak zpriehladnit aby sa v tom clovek napohlad vyznal ??? Link to comment Share on other sites More sharing options...
0 Guest ShockyCZE Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 xlolx co to je VehicleMod ? lol Link to comment Share on other sites More sharing options...
0 Guest Vladqo Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 ajaj, oraj, oraj.. nenapadlo ta dat do OnPlayerCommandText dcmd(register,8,cmdtext); dcmd(login,5,cmdtext); Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 jo konecne som to ide, a hento som tam uz daval ale stale vypisovalo viac a viac chyb tak som dal radsej prec ja som PAWNO videl prvy krat asi predvcerom tak ale snazim sa Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 Ucis se rychleji nez ja xD Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 tak teraz som si tam dolpnil public OnPlayerRequestSpawn(playerid) { if(PLAYERLIST_authed[playerid]) { return true; } else { 48.riado////SendClientMessage(playerid, COLOR_RED, "Nie si prihlásený!!Najskôr sa zaregistruj /register heslo a potom použi /login heslo")onclick="window.open(this.href);return false;"); return false; } } a zavalo to vypisovat C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(48) : error 001: expected token: ";", but found "-identifier-" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(48) : error 017: undefined symbol "onclick" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(48) : warning 215: expression has no effect C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(48) : error 001: expected token: ";", but found ")" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(48) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 public OnPlayerRequestSpawn(playerid){ if(PLAYERLIST_authed[playerid]) { return true; } else { 48.riado////SendClientMessage(playerid, COLOR_RED, "Nie si prihlásený!!Najskôr sa zaregistruj /register heslo a potom použi /login heslo")onclick="window.open(this.href);return false;"); return false; } to co ma byt ? /register heslo a potom použi /login heslo")onclick="window.open(this.href);return false; ...nevis cist nebo co :wtf: Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 tak ja neviem ale pripadalo mi to divne ja som to tu na fore nasiel, skusal som to nejako zmenit ci vynechat ale iba viacej errov s hentym sa trapim 30 minut molo by to fungovat tak aby sa musel registrovat Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 panenko maria vymaz to co sem napsal nebo to dej do /**/ ..a napis co ti to jeste pise Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 :rap: jo uz to funguje dal som cely riadok doprdele diky Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 no dal som ho tam a vyhodilo mi dalsie chyby ja som z toho kkt C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : error 017: undefined symbol "ridicak" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : warning 215: expression has no effect C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : error 001: expected token: ";", but found "]" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : error 029: invalid expression, assumed zero C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(60) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. ked som vyhodil povolani a ridicak tak mi vyhodilo C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(217) : warning 203: symbol is never used: "dcmd_login" C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(217) : warning 203: symbol is never used: "dcmd_register" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Warnings. ked tam budem chcet vodicky tak ho ako nadefinujem ci co s tym ??? do onplayercommandtext dcmd(login,5, cmdtext); dcmd(register,8, cmdtext); Link to comment Share on other sites More sharing options...
0 Guest Vladqo Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 chytrak to dcmd(login, atd.. som mu uz radil a nieco zakecal ze to tam mal a ze mu to blblo lol xD a nemyslim ze register ma 7 znakov xD Link to comment Share on other sites More sharing options...
0 Guest Oraj Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 registracia je uz davno vyriesena ale natrafil som na iny chybu stale hra hudba aj po prihlásení Link to comment Share on other sites More sharing options...
Dotaz
Guest Oraj
postupoval som podla tohto tut http://www.play-zone.mteam.cz/forum/vie ... hread_id=9" onclick="window.open(this.href);return false;
vypisuje:
76 riadok PLAYERLIST_authed[playerid]=false;
pls som lama nemusite to komentovat........... pls co a kde mam dolpnit pripadne vymazat
Link to comment
Share on other sites
47 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