Jump to content

Ex_ionutz

Membru
  • Posts

    36
  • Joined

  • Last visited

    Never

Everything posted by Ex_ionutz

  1. Salut, am o alta problema acum. Am pus Gamemode-ul pe host dar, când intri pe server nu te poti înregistra, scrii parola dar, degeaba. MySQLCreateAccount : [pawn]public MySQLCreateAccount(newplayersname[], newpassword[], playerid) { new query[128]; new sqlplyname[64]; new sqlpassword[64]; mysql_real_escape_string(newplayersname, sqlplyname); mysql_real_escape_string(newpassword, sqlpassword); format(query, sizeof(query), "INSERT INTO players (Name, Password) VALUES ('%s', '%s')", sqlplyname, sqlpassword); mysql_query(query); Registerr[playerid] = 2; print("[MySQL]: Un nou cont a fost creat in baza de date!(..)01"); mysql_free_result(); print("[MySQL]: Un nou cont a fost creat in baza de date!(..)02"); //mysql_free_result(); new newplayersid = MySQLCheckAccount(newplayersname); if (newplayersid != 0) { return newplayersid; } return 0; }[/pawn] Alte detalii nu stiu sa va dau, daca este nevoie, scrieti si va dau toate detaliile necesare. Multumesc.
  2. native mysql_connect(const host[], const user[], const pass[], const db[], MySQL:handle = (MySQL:0), auto_reconnect = 0);
  3. C:\Documents and Settings\ionutz\Desktop\Tholz România\pawno\include\mysql.inc(133) : error 021: symbol already defined: "mysql_connect" C:\Documents and Settings\ionutz\Desktop\Tholz România\pawno\include\mysql.inc(133) : error 001: expected token: "]", but found "." C:\Documents and Settings\ionutz\Desktop\Tholz România\pawno\include\mysql.inc(133) : error 001: expected token: ";", but found "." C:\Documents and Settings\ionutz\Desktop\Tholz România\pawno\include\mysql.inc(133) : 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. Idei?
  4. ) ce va mai place, daca ti-ar da unu' o arhiva cu toate include-urile ti-ar parea bine nu? Dar sa cauti putin... Daca vrei sa iti mearga trebuie sa faci update la toate include-urile.
  5. 1. Nu pe „sageata” aia albastra se compileaza, ci pe iconita din stanga „sagetii” 2. .AMX ti-a disparut pentur ca aveai erori la compilare, posteaza erorile, apoi vom putea sa te ajutam.
  6. // *** ------------------------------------------------ *** // // *** ZeroPing SA:MP server.cfg reconfiguration daemon *** // // *** ------------------------------------------------ *** // // *** -> The file has been rewritten with forced values bind xx.xxx.xx.xxxx maxplayers 50 port 7777 // *** -> Here comes the user configuration echo Executing Server Config... lanmode 0 rcon_password change hostname My Server gamemode0 MyGM filterscripts plugins mysql.so sscanf.so streamer.so announce 0 query 1 weburl www.mysite.ro onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 10 logtimeformat [%H:%M:%S]
  7. 1. ?terge linia „ 53856 ” 2. ?terge acel 0 de lâng? „ lspdbariera ” ( de la linia 52774 ?i 52218 )
  8. Adaug? asta la sfâr?it-ul scriptului. [pawn]strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }[/pawn]
  9. Ex_ionutz

    Help chat

    [pawn]if(strcmp(cmd, "/vip", true) == 0 || strcmp(cmd, "/vipchat", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerData[playerid][pMuted] == 1) { SendClientMessage(playerid, COLOR_LIGHTRED, "Nu poti sa vorbesti, esti mutit!"); return 1; } if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Nu esti logat inca!"); return 1; } new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[256]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; result[0] = toupper(result[0]); if(!strlen(result)) { SendUsage(playerid,"(/vip)chat [VIP chat]"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); if (PlayerData[playerid][pAgent] >= 1 && PlayerData[playerid][pAdmin] == 0) { format(string, sizeof(string), "* VIP%s: %s", sendername, result); ABroadCast(COLOR_YELLOW2, string,1); SBroadCast(COLOR_YELLOW2, string); } else if (PlayerData[playerid][pAdmin] >= 1) { format(string, sizeof(string), "* Admin %s: %s", sendername, result); ABroadCast(COLOR_YELLOW2, string,1); SBroadCast(COLOR_YELLOW2, string); } } return 1; }[/pawn] Cam asa ar ar?ta, dac? întâmpini probleme, las? un reply. Ps: Nu se cer scripturi. Înv??a?i-v? s? face?i voi, ?i noi v? ajut?m.
  10. Salut, revin cu o alta problema. Cand urc serverul pe Host nu mi-l deschide. Server Information Game: Grand Theft Auto: San Andreas Status: Unable to connect (xx.xxx.xx.xxx:7777) Asta apare pe GameCP ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3e-R2, (C)2005-2012 SA-MP Team [23:21:40] filterscripts = "" (string) [23:21:40] [23:21:40] Server Plugins [23:21:40] -------------- [23:21:40] Loading plugin: mysql [23:21:40] Failed (plugins/mysql: cannot open shared object file: No such file or directory) [23:21:40] Loading plugin: sscanf [23:21:40] Failed (plugins/sscanf: cannot open shared object file: No such file or directory) [23:21:40] Loading plugin: streamer [23:21:40] Failed (plugins/streamer: cannot open shared object file: No such file or directory) [23:21:40] Loaded 0 plugins. [23:21:40] [23:21:40] Ban list [23:21:40] -------- [23:21:40] Loaded: samp.ban [23:21:40] [23:21:40] [23:21:40] Filterscripts [23:21:40] --------------- [23:21:40] Loaded 0 filterscripts. ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3e-R2, (C)2005-2012 SA-MP Team [23:21:45] filterscripts = "" (string) [23:21:45] [23:21:45] Server Plugins [23:21:45] -------------- [23:21:45] Loading plugin: mysql [23:21:45] Failed (plugins/mysql: cannot open shared object file: No such file or directory) [23:21:45] Loading plugin: sscanf [23:21:45] Failed (plugins/sscanf: cannot open shared object file: No such file or directory) [23:21:45] Loading plugin: streamer [23:21:45] Failed (plugins/streamer: cannot open shared object file: No such file or directory) [23:21:45] Loaded 0 plugins. [23:21:45] [23:21:45] Ban list [23:21:45] -------- [23:21:45] Loaded: samp.ban [23:21:45] [23:21:45] [23:21:45] Filterscripts [23:21:45] --------------- [23:21:45] Loaded 0 filterscripts. Iar asta imi apare in server_log. Are cineva idee cum as putea rezolva? Multumesc.
  11. Rezolvat. Multumesc tuturor
  12. Merci pentru link, dar nu gasesc problema mea pe acolo.
  13. Defapt, nu lipseste nici o paranteza, am cautat si cu Missing Brackets. Alta rezolvare?
  14. Salut Sa-Mp.ro. Am si eu o problema (sau mai multe) la compilarea unui GM : E:\SaMp\Gm's\GM\pawno\include\streamer.inc(381) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject") E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(2420) : error 004: function "SafeResetPlayerWeapons" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGamingpwn(2448) : error 004: function "SafeResetPlayerWeapons" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4090) : error 004: function "RemoveRoadblock" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4153) : error 004: function "SafeResetPlayerWeapons" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4778) : error 004: function "BusrouteEnd" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4779) : error 004: function "BusrouteEnd" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(4780) : error 004: function "BusrouteEnd" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5256) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5262) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5271) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5280) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5289) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5298) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5307) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5316) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5325) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5334) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5386) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5392) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5402) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5411) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5420) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5429) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5438) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5447) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented E:\SaMp\Gm's\GM\gamemodes\xGaming.pwn(5456) : error 004: function "AdvertiseToPlayersAtBusStop" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. Linii: 2420 : [pawn] SafeResetPlayerWeapons(i);[/pawn] 2448 : [pawn] SafeResetPlayerWeapons(i);[/pawn] 4090 : [pawn] RemoveRoadblock(playerid);[/pawn] 4153 : [pawn] SafeResetPlayerWeapons(playerid);[/pawn] 4778 : [pawn] if (BusrouteEast[playerid][0] != 0) BusrouteEnd(playerid, BusrouteEast[playerid][1]);[/pawn] 4779 : [pawn] else if (BusrouteWest[playerid][0] != 0) BusrouteEnd(playerid, BusrouteWest[playerid][1]);[/pawn] 4780 : [pawn] else BusrouteEnd(playerid, 0);[/pawn] 5256 : [pawn] AdvertiseToPlayersAtBusStop(1979.7369,-2171.4861,13.5363, 0);[/pawn] 5262 : [pawn] AdvertiseToPlayersAtBusStop(2227.6953,-2201.9053,13.5164, 0);[/pawn] 5271 : [pawn] AdvertiseToPlayersAtBusStop(2719.9419,-2030.2104,13.5076, 0);[/pawn] 5280 : [pawn] AdvertiseToPlayersAtBusStop(2470.8059,-1926.7136,13.5125, 0);[/pawn] 5289 : [pawn] AdvertiseToPlayersAtBusStop(2348.0249,-1695.8247,13.5286, 0);[/pawn] 5298 : [pawn] AdvertiseToPlayersAtBusStop(2422.4092,-1251.1915,23.9176, 0);[/pawn] 5307 : [pawn] AdvertiseToPlayersAtBusStop(2717.7463,-1218.8141,64.9276, 0);[/pawn] 5316 : [pawn] AdvertiseToPlayersAtBusStop(2173.1165,-1114.3069,25.4259, 0);[/pawn] 5325 : [pawn] AdvertiseToPlayersAtBusStop(2028.4354,-1259.1379,23.9287, 0);[/pawn] 5334 : [pawn] AdvertiseToPlayersAtBusStop(1203.5101,-1833.5771,13.4946, 0);[/pawn] 5386 : [pawn] AdvertiseToPlayersAtBusStop(1826.8738,-1634.5306,13.5588, 1);[/pawn] 5392 : [pawn] AdvertiseToPlayersAtBusStop(1856.7260,-1211.7167,20.3898, 1);[/pawn] 5402 : [pawn] AdvertiseToPlayersAtBusStop(1208.0479,-929.9481,42.9049, 1);[/pawn] 5411 : [pawn] AdvertiseToPlayersAtBusStop(1119.0096,-1137.8805,23.7597, 1);[/pawn] 5420 : [pawn] AdvertiseToPlayersAtBusStop(1443.0234,-1028.7131,23.8281, 1);[/pawn] 5429 : [pawn] AdvertiseToPlayersAtBusStop(526.6218,-1480.9631,14.5567, 1);[/pawn] 5438 : [pawn] AdvertiseToPlayersAtBusStop(443.9078,-1724.8008,10.0896, 1);[/pawn] 5447 : [pawn] AdvertiseToPlayersAtBusStop(836.2728,-1788.8121,13.9260, 1);[/pawn] 5456 : [pawn] AdvertiseToPlayersAtBusStop(1508.7136,-1735.5184,13.4921, 1);[/pawn] Deci, cine ma poate ajuta? Multumesc.
  15. e misto dar incearca sa acoperi o suprafata mai mare incearca sa faci tot orasul LOS Santos oricum 5/5
  16. warningul l-am rezolvat merci [shadow=red,left][glow=red,3,000]Only4Fun[/glow][/shadow] Cu erorile cine ma poate ajuta?
  17. [pawn]C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(4226) : warning 202: number of arguments does not match definition C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(15938) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(15939) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(15940) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(15973) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(15975) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(15984) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(15993) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16012) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16018) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16041) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16049) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16054) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16063) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16074) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16081) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16089) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16096) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16102) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16108) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16132) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16140) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16155) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16177) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16181) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16184) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\ionutz\Desktop\samp03\gamemodes\eGamer.pwn(16189) : error 079: inconsistent return types (array & non-array) Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase [/pawn] Linia 4226: [pawn] SetPlayerMapIcon(playerid,1,1412.0840,-1701.5978,13.5395,55,COLOR_YELLOW2, MAPICON_LOCAL);//DMV LS[/pawn] Ma poate ajuta cineva?
  18. [glow=red,2,300]10[/glow]/[glow=green,2,300]10 [/glow]clar
  19. exteriorul nu imi place in rest [glow=red,2,600]PERFECT[/glow] 9,5/10
  20. misto dar trebuia sa pui sa iti dea 25% viata si fara armura. deoarece multi ar abuza (aici vorbim de modul Roleplay) oricum felicitari pentru efort [glow=red,2,300]4[/glow]/[glow=Blue,2,300]5[/glow]
  21. [shadow=red,left]Merci[/shadow] Puteti inchide topicul.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.