-ffs-Sniper

Members
  • Content Count

    265
  • Joined

  • Last visited

Everything posted by -ffs-Sniper

  1. Could you post a screenshot? Also, be sure to have the lastest nightly installed and update your DirectX Runtimes. If this problem still occurs, please download and run MTADiag and follow the instructions.
  2. @TwiX: That is not going to help him much since the positioning and scaling is pretty much impossible for scripting newbies. In addition to that "dxDrawText" already has an argument for colored texts.
  3. Not that I am interested in your offer; would you mind giving us some information on the server specifications?
  4. http://wiki.multitheftauto.com/wiki/OutputChatBox The syntax (server-side) is: bool outputChatBox ( string text [, element visibleTo=getRootElement(), int r=255, int g=255, int b=255, bool colorCoded=false ] ) ColorCoded is false by default. In case you would like to have a color coded chatbox message set this to true. Check your gamemode for an "onPlayerChat" event. @Nametags: Default nametags do not support hexdecimal color codes.
  5. There is a typo in your meta at line 5. Change "scruot" to "script".
  6. Wygląda na to że moduł MTA MySQL nie został uruchomiony prawidłowo. (http://wiki.multitheftauto.com/wiki/Mysql)
  7. http://wiki.multitheftauto.com/wiki/AddEventHandler Here you can see what the meaning of each predefined variable is (for events only).
  8. Everything seems to be fine for me. Either the table does not exist or you have selected a wrong database. Without a screenshot of the MySQL structure and the LUA code where the connection info is stored we can not help you much.
  9. This tutorial looks pretty well and explains all the basic things in order to use MySQL on your server. Sometimes your English is not the best, though still comprehensible. I would personally add one thing to your tutorial: On several Linux-based systems such as Debian or Ubuntu "localhost" does not work due to problems with the host configuration of MySQL. In this case use "127.0.0.1" instead of "localhost". Btw: To be honest I do not like XAMPP. I suggest using WAMP which is easier to manage and causes less problems in general. Good job!
  10. viewtopic.php?f=106&t=40131 You are free to contact me.
  11. -ffs-Sniper

    censor words

    If the following code will not work properly please check if there are any other resources running that are using the "onPlayerChat" event. words = {"ananı","sikerim","orospu","amına","kancık","dick","yarrak","yarak","yarrağ","yarağ","bacını","ırzı","piç","mına","skerim","siktir","anan","lick","ass","asshole"} _root = getRootElement() _warnings = get("*Warnings") addEventHandler("onPlayerChat",_root, function (_msg,_type) for _,_x in pairs(words) do if string.find(_msg,string.lower(_x)) then local _msg = string.lower(_msg) if _type == 0 then cancelEvent() local _number = string.len(_x) local g_Name = getPlayerName(source) local _r,_g,_b = getPlayerNametagColor(source) _msg = string.rep("*",tonumber(_number)) outputChatBox( g_Name .. ":#FDE3B3 " .. _msg , _root, _r, _g, _b, true) return else return end end end end )
  12. Because sniping with a rifle is too mainstream in Team Fortress 2.
  13. The following encryption is used by vBulletin: $hashpwd = md5(concat(md5($pwd), $salt));
  14. @TAPL: That does not necessarily do what teteomar wants to. @teteomar: Is this script supposed to be client or server side?
  15. Where is localPlayer declared? Hint: onMarkerHit and onMarkerLeave are available server side only.
  16. The official topic containing comments of the map can be found here: http://ffsgaming.net/showthread.php?425 ... #post52129
  17. No problem, it was stolen from the former SHC clan about 1 year ago. Even though it is very old and poorly scripted I am the author of this script. I really hate watching kiddies and copycats playing with my (old) scripts and afterwards releasing them as their own work.
  18. Who allowed you to use/edit my script?
  19. Stolen maps: http://community.mtasa.com/index.php?p= ... ls&id=4914 http://community.mtasa.com/index.php?p= ... ls&id=4913
  20. There really is no point in uploading a compiled resource. In fact it can be a high security risk since the code itself can not be fully seen by the user (we already had a case where a compiled script with a built in backdoor has been uploaded). The community should be a place to share source scripts and knowledge with others instead of advertising your own "scripting skills".
  21. Compiled resource: http://community.mtasa.com/index.php?p= ... ls&id=4758
  22. Another stolen map: http://community.mtasa.com/index.php?p= ... ls&id=4767
  23. Please post your meta with tags.