Jump to content

TheGodfather

Membru
  • Posts

    211
  • Joined

  • Last visited

1 Follower

Profile Information

  • Sex
    Masculin
  • In-game Name
    TheGodfather
  • Level of knowledge
    Începător

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

TheGodfather's Achievements

Community Regular

Community Regular (8/14)

  • Dedicated Rare
  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done

Recent Badges

4

Reputation

1

Community Answers

  1. Salut, vreau sa fac ca prin comanda /edithouse sa pot modifica si interiorul caselor, am incercat asta dar primesc eroare: ==================================================================== Error ID: 1065, Eroare: Query was empty Callback: gQuery: ==================================================================== YCMD:edithouse(playerid, params[], help) { if(aspam[playerid] > 0) return SCMEx(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Asteapta %d secunde.", aspam[playerid]); new id, code[180], list; if(PlayerInfo[playerid][pAdmin] < 7) return true; if(sscanf(params, "iis[180]", id,list,code)) { SCM(playerid, COLOR_GREY, "{4CA27A}USAGE:{FFFFFF} /edithouse <house id> <code> <result>"); SCM(playerid, 0xFFFFFFFF, "(1) Level, (2) Nume, (3) Pret, (4) Owned, (5) Interior"); return true; } if(HouseInfo[id][hID] == 0) return SCM(playerid, COLOR_GOLD, "Aceasta casa nu exista!"); new result = strval(code), string[180], str[180]; switch(list) { case 1: { format(string, sizeof(string), "Ai editat nivelul la casa %d in %d.", id, result); SCM(playerid, COLOR_GOLD, string); mysql_format(SQL,str,sizeof(str),"UPDATE houses SET Level='%d' WHERE ID='%d'",HouseInfo[id][hLevel], HouseInfo[id][hID]); mysql_tquery(SQL,str, "", ""); } case 2: { format(string, sizeof(string), "Ai editat numele la casa %d in %s.", id, code); SCM(playerid, COLOR_GOLD, string); format(HouseInfo[id][hDiscription],256,code); mysql_format(SQL,str,sizeof(str),"UPDATE houses SET Discription='%s' WHERE ID='%d'",HouseInfo[id][hDiscription],HouseInfo[id][hID]); mysql_tquery(SQL,str, "", ""); } case 3: { format(string, sizeof(string), "Ai editat pretul la casa %d in $%s.", id, FormatNumber(result)); SCM(playerid, COLOR_GOLD, string); HouseInfo[id][hValue] = result; mysql_format(SQL,string, sizeof(string), "UPDATE houses SET `Value`='%d' WHERE ID=%d",result,HouseInfo[id][hID]); mysql_tquery(SQL,str, "", ""); } case 4: { format(string, sizeof(string), "Ai editat detinatorul la casa %d in %d.", id, result); SCM(playerid, COLOR_GOLD, string); HouseInfo[id][hOwned] = result; mysql_format(SQL,string, sizeof(string), "UPDATE houses SET `Owned`='%d' WHERE ID=%d",result,HouseInfo[id][hID]); mysql_tquery(SQL,str, "", ""); } // case 5: { format(string, sizeof(string), "Ai editat interiorul la casa %d in %d.", id, result); SCM(playerid, COLOR_GOLD, string); HouseInfo[id][hInterior] = result; mysql_format(SQL,string,sizeof(string), "UPDATE houses SET `Interior`='%d' WHERE ID=%d,",result,HouseInfo[id][hID]); mysql_tquery(SQL,str,"",""); } // } UpdateLabel(1, id); return true; }
  2. Exista vreo modalitate atunci? Ban pe hardware, cum e la jocul league of legends?
  3. Salut, exista vreo modalitate de banare permanenta a unui jucator pe server-ul de samp? Banarea ip-ului e cam useless pentru ca isi schimba ip cu un vpn si cam asta a fost. Multumesc.
  4. Multumesc frumos, functioneaza perfect.
  5. Salut, ma puteti ajuta cu o comanda prin care ceea ce scriu eu sa se aplice altui jucatori? De exemplu, /remotecommand <remote player> <command text>, /remotecontrol 206 /engine, ii opreste/porneste motorul playerului cu id 206, /remotecontrol 206 /eject 50, playerul cu id 206 ii da eject din masina playerului cu id 50. Am incercat asta dar nu merge, am incercat sa apelez si OnPlayerCommandPerformed dar tot nu merge. YCMD:remotecontrol(playerid, params[], help) { if(aspam[playerid] > 0) return SCMEx(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Asteapta %d secunde.", aspam[playerid]); new id, text[30]; if(sscanf(params, "is[30]", id, text)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/remotecontrol <playerid> <command>"); OnPlayerCommandReceived(id, text); return 1; }
  6. Salut, ma puteti ajuta cu o comanda prin care ceea ce scriu eu sa se aplice altui jucatori? De exemplu, /remotecommand <remote player> <command text>, /remotecontrol 206 /engine, ii opreste/porneste motorul playerului cu id 206, /remotecontrol 206 /eject 50, playerul cu id 206 ii da eject din masina playerului cu id 50.
  7. Ok, multumesc pentru ajutor.
  8. Salut, primesc aceste linii de text in logurile serverului, aveti idee cum pot sa rezolv? [16:54:16] [debug] Server crashed due to an unknown error [16:54:17] [debug] Native backtrace: [16:54:17] [debug] #0 f7385e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [16:54:17] [debug] #1 f737ebcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [16:54:18] [debug] #2 f737fdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [16:54:18] [debug] #3 f7380226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [16:54:18] [debug] #4 f7385adc in ?? () from plugins/crashdetect.so [16:54:18] [debug] #5 f76e7410 in ?? () [16:54:18] [debug] #6 f7321844 in _ZN11CMySQLQuery11StoreResultEP8st_mysqlP12st_mysql_res () from plugins/mysql.so [16:54:18] [debug] #7 f7321c73 in _ZN11CMySQLQuery7ExecuteEP8st_mysql () from plugins/mysql.so [16:54:18] [debug] #8 f7319e68 in _ZN16CMySQLConnection14ProcessQueriesEv () from plugins/mysql.so [16:54:18] [debug] #9 f731b6ab in _ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0Iv16CMySQLConnectionEENS2_5list1INS2_5valueIPS6_EEEEEEE3runEv () from plugins/mysql.so [16:54:18] [debug] #10 f733aec6 in ?? () from plugins/mysql.so [16:54:18] [debug] #11 f76c5bbc in ?? () from /lib/libpthread.so.0 [16:54:18] [debug] #12 f74a81fe in clone () from /lib/libc.so.6
×
×
  • 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.