Jump to content

dk4ever

Membru
  • Posts

    24
  • Joined

  • Last visited

    Never

Recent Profile Visitors

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

dk4ever's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Am facut si asta si tot aceeasi problema este.
  2. Am si eu o problema cu un plugin care nu se incarca. In server.cfg plugin-ul este trecut cu extensia .so si il am si in folderul plugins. Dar cand pornesc serverul in server_log.txt imi apare ca nu se incarca plugin-ul si imi apare aceasta eroare Failed (libsampgdk.so.2: cannot open shared object file: No such file or directory) Am toate fisierele ce tine de plugin daca trebuie introduse unde.
  3. Dar ceva temporar nu se poate face sa nu mai fie destepti din astia care blocheaza gm-ul?
  4. Am o problema, am un gm RP si se blocheaza in momentul in care cinevaa scrie in normal chat un code de culoare fara sa fie inainte lui sau dupa el un text. Ex: daca sscriu doar "{FFFFFF}" in chat-ul normal se blocheaza tot gm-ul si nu mai merge nimic Acest lucru este valabil la orice cod de culoare cre l-as trece intre acolade. Daca ma poate ajuta cineva. Multumesc!
  5. Varianta 1 format(string, sizeof(string), "(("#hexcolor" %s: "#hexcolor2"%s ))", sendername, result); OOCOff(COLOR_OOC,string); si hexcolor si hexcolor2 le defineti la inceput ceva de genu #define hexcolor "{00FF00}" #define hexcolor2 "{FF0000}" Sau mai este o varianta in care nu trebuie definite culorile format(string, sizeof(string), "(({FF0000} %s: {00FF00}%s ))", sendername, result); OOCOff(COLOR_OOC,string);
  6. Am o problema la case, pe un server RP, sunt mai multe case care au acelasi interior, si virtual warld diferite. Si cand sunt 2 persoane in acelasi interior si virtualwarld diferite, se vede ce vorbeste unu, si pot comunica, chiar daca nu se vad
  7. Astept ca cineva sa imi dea un raspuns bun, nu vreau +1 Cand am specificat restul talstelor, ma refeream la cele inafara de pe http://wiki.sa-mp.com/wiki/GetPlayerKeys
  8. Care stie unde pot sa gasesc codul pt samp la restu tastelor. De ex: numpad 0 nu gasesc nicaieri care e codul
  9. dk4ever

    Erori

    pai atunci daca sti engleza vei sti ca: 1. C:\Users\Tzaks\Desktop\gm.pwn(2578) : error 021: symbol already defined: "GetDistanceBetweenPlayers" (adik este deja definit printr-un include sau ceva si atunci il vei putea sterge acel public cat si forward) 2. C:\Users\Tzaks\Desktop\gm.pwn(4250) : error 004: function "SetPlayerToTeamColor" is not implemented C:\Users\Tzaks\Desktop\gm.pwn(4548) : error 004: function "OnPropUpdate" is not implemented aici spune ca nu sun implementate... adik trebuie sa creezi un forward pt cele 2 functii cat si un public... asta in cazul in care tu sustii ca nu ai uitat nici o }
  10. dk4ever

    Erori

    La aceasta problema sunt mai multe posibile solutii 1. Sa inveti engleza 2. E posibil ca in ultimele modificari facute inainte de compilare sa fi uitat un ; sau } 3. poate ai probleme cu include-urile
  11. Dar nimeni nu stie un fs bun pentru anticheat (bani,weapon,teleport,heal si armura)?? sau daca nu ziceti un tutorial prin care pot sa fac unul rapid
  12. Va rog sa imi spuneti un alt anti cheat, ceva asemanator cu junkbuster, pentru ca problema de la JB nu o pot rezolva scz de dublu post dar nu pot da edit
  13. E:\salvari\desktop\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "panels" shadows a variable at a preceding level E:\salvari\desktop\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "doors" shadows a variable at a preceding level E:\salvari\desktop\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "lights" shadows a variable at a preceding level E:\salvari\desktop\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "tires" shadows a variable at a preceding level aceste erori se refera ca sunt deja definite acele variabile C:\Documents and Settings\user\Desktop\samp03\gamemodes\G-Zone.pwn(4112) : error 017: undefined symbol "GetVehicleWithinDistance" C:\Documents and Settings\user\Desktop\samp03\gamemodes\G-Zone.pwn(4114) : error 017: undefined symbol "IsVehicleRc" C:\Documents and Settings\user\Desktop\samp03\gamemodes\G-Zone.pwn(4120) : error 017: undefined symbol "IsVehicleRc" C:\Documents and Settings\user\Desktop\samp03\gamemodes\G-Zone.pwn(4137) : error 017: undefined symbol "IsKeyJustDown" C:\Documents and Settings\user\Desktop\samp03\gamemodes\G-Zone.pwn(4139) : error 017: undefined symbol "StopLoopingAnim" aceste erori sunt pentru ca nu ai definit acei parametrii,, tu le apelezi dar ele nu exista si pentru restul trebuie sa creezi un public pentru "ClearChatbox" si pentru "PlayerToPoint"
  14. Nu ma mai intrebati daca l-am instalat bine, cand descarci JB ai in acea arhiva ceva de genu +---------------------------+ ¦ How to install JunkBuster ¦ +---------------------------+ >>> To install JunkBuster correctly, you must follow these 10 easy steps. <<< Step 1) Copy the downloaded folder "JunkBuster" into your folder "scriptfiles". Step 2) Copy "JunkBuster.pwn" into your "filterscripts" folder. Add "JunkBuster" to "filterscripts" in your "server.cfg" file. IMPORTANT: Write "JunkBuster" in front of all other filterscripts! JunkBuster must be loaded first!!! It must look like this: filterscripts JunkBuster FS1 FS2 FS3 ETC Copy all includes in "pawno/includes" into YOUR folder "include" located in the folder "pawno". Step 3) Include "JunkBuster.inc" (this is the client script) in your GAMEMODE and ALL your FILTERSCRIPTS! Just use #include <JunkBuster>. If you do not do this, JunkBuster will not work properly and probably kick/ban innocent players. Step 4) You are using a custom admin system with for example levels? Not only RCON? You can link this admin system with JunkBuster. JunkBuster can't recognize your adminsystem so you must add a function. Function (This is only an EXAMPLE!): public IsPlayerAdminCall(playerid) { if(PlayerInfo[playerid][pAdmin] >= 1) return 1; else return 0; } IMPORTANT: If you haven't understood yet: This function depends on YOUR admin system. The function above is ONLY FOR GODFATHER so you may have to customize this function. If you do not add this function admin immunity will only work for RCON-admins!!! TEMPLATE (copy this function into your admin script/gamemode and fill in the missing part [this was just for the bloody noobs]): public IsPlayerAdminCall(playerid) { if(/* Missing part: Is playerid admin? */) return 1; // If yes, return 1. else return 0; // If no, return 0. } PS: JunkBuster is compatible with the default Godfather gamemode! (Tested) PPS: JunkBuster is actually compatible with nearly every script! (It's designed to be) Step 5) Put '#define I_AM_NO_RETARD' on top of 'JunkBuster.pwn' and compile the script. IMPORTANT: Decide if you want to use the new SQLite Ban System by uncommenting the line where '#define USE_DATABASE' is. I do not recommend using it because it's experimental. So you probably should just compile JunkBuster without editing it. Compile "JunkBuster.pwn". Compile all your other gamemodes/filterscripts and check for errors. If there are any errors or warnings and you don't know how to fix it, post them in the JunkBuster topic on forum.sa-mp.com. (But there shouldn't be any errors in update 11.) Step 6) Start your gamemode, go ingame and login as RCON-admin. Now type /jbcfg. A dialog will appear. Choose the listitem "Set a var". After you have done this you will see all JunkBuster variables with the current values. It's the best you choose every variable. Double-click on a variable and a new dialog will appear where you can set the variable. There will be a description for every variable, too. Read description for the chosen variable before you change it. After you have customized the JunkBuster configuration. Go back to the main dialog (/jbcfg) and choose "Save configuration to file". Step 7) Add more bad words and forbidden weapons (or don't). To do this open "BadWords.cfg" in the folder "scriptfiles/JunkBuster". Add or remove bad words. Now open "ForbiddenWeapons.cfg" and add or remove weapon IDs. Minigun (38), both rocket launchers (35,36) and flamethrower (37) are forbidden by default. Go ingame again, tpye /jbcfg and choose "Load configuration from file" to load the forbidden weapons and bad words. Now open "JunkBuster.cfg" in the folder "scriptfiles/JunkBuster" and change the value "Homepage". (If you don't have a homepage... hm... I don't know what to write there. Maybe write the homepage of a server you hate so the admins there will get annoyed by the cheaters?) Step 8) Type ingame /jbcmds for more administration commands (RCON only). Step 9) JunkBuster is now ready to protect your server from spammers, hackers, cheaters and other noobs. If you find a bug, REPORT it in SA-MP forums in the JunkBuster topic. Step 10) Have fun and feel saver. Care iti spun exact ce trebuie sa faci
  15. nu am avut nici o eroare, daca aveam stiam sa o citesc. probleme la fs nu am avut. la gm cand compilam impreuna cu #include <JunkBuster> si porneam serverul la sfarsit scria 0 modele de masini.... si cand compilam gm-ul fara #include <JunkBuster> imi aparea bine.
×
×
  • 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.