Jump to content

Zango

Discord Moderators
  • Posts

    681
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Zango

  1. Zango

    READ PLEASE

    You don't need to put your IP in the field, unless you have several IPs bound. Try removing it and see if it doesn't work.
  2. Go to your MTA resources directory and open editor_main Go to server -> playerspawn.lua Change line 5 and 14 to whatever spawn you please. For ease, you could define them at top and use them both places.
  3. Zango

    MTA fps bug

    The initial 1.0.5 release seemed to cause severe performance issues for some people, however the latest 1.0.5 should've fixed this. Have you updated your version?
  4. Zango

    Unnecessary Resources

    The more resources loaded on the mta-server the more RAM is consumed by mta-server
  5. No you can make like that My bad, confused it with outputDebugString (that can't take a number value unlike outputChatBox) but I forgot its only if you parse a number not resumed in a string
  6. furthermore, I think you have to tostring() those x and y values for outputChatBox.
  7. I believe you can change your forum username yourself. User Control Panel -> Profile -> Edit account settings
  8. this is an example of something he has in mind. why is he suddenly trying to copy a server and unable to use any of his own ideas, because he's using a feature for inspiration?
  9. Zango

    How to..

    its setBlurLevel - https://wiki.multitheftauto.com/wiki/SetBlurLevel
  10. It sounds like the server you're trying to connect to, is simply offline?
  11. Zango

    bug in mta

    Of course not, you never know what might work
  12. geshi seems to fail a bit - if you create a post with lua tags and preview it, it will show these errors on top: Loading language[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) earlier it also stripped my post when I did it
  13. function SlapPlayer(theplayer, command, otherplayername, ...) otherplayer = getPlayerFromName(otherplayername) local x, y, z = getElementPosition(otherplayer) local pname = getPlayerName(theplayer) local gname = getPlayerName(otherplayer) z = z+5 succes = setElementPosition(otherplayer, x, y, z) if(succes) then outputChatBox(gname.." Was Slapped By Admin "..pname.." Reason : "..table.concat ({...}, ' '), getRootElement(), 255, 0, 0, true) else outputChatBox("Failed", theplayer) end end addCommandHandler("sslap", SlapPlayer) you add 'everything else' '...' into a table and concatenate the values, separated by space into a string
  14. Zango

    bug in mta

    50 bucks on Intel Express Chipset 4!
  15. you can script a cron job to check for process existance every 10 seconds or so, and boot if needed read more about shell scripting
  16. you would want to change playerSource in redirectPlayer to source
  17. Zango

    Server buged

    I'm sorry to say that you have an Intel Express Chipset 4, which is the currently only known graphics card that fails to run MTA. I don't think there was ever found a solution.
  18. triggerServerEvent second parameter is element source. This argument isn't passed as function argument but in source form. Therefore your blah argument is log, and log argument is nil (if that makes sense ). edit: fuck snap I'm being overhauled D:
  19. Zango

    Something wrong

    you would want to use screen as it let's you detach and reattach the server console. aptitude install screen once installed, you can use screen -S mtaserver now start your server and you can freely close putty when you log back into putty, use this command to reattach your console: screen -R mtaserver
  20. by the way Janck7, you can remove the adminObjects and admins tables, I rewrote the snippet and forgot to clean those lines
  21. I've known this issue for long I believe it's got to do with certain pirated versions of GTA San Andreas
  22. Zango

    httpdownloadurl HELP!

    You forgot to upload the newer version of your resource to the web directory
  23. If you're running freeroam, it's in meta.xml of freeroam resource <setting name="*vehicles/maxperplayer" value="[2]" /> if not, please provide more info. Limit per player or general limit.
  24. Zango

    Gui Ratio

    All the triggerServerEvent are bad arguments... <_< well yes, that's because you haven't read the documentation for triggerServerEvent it's event, element and arguments. Not element, event, arguments
  25. Zango

    httpdownloadurl HELP!

    upload all your resources to a web directory. The resources can be in zip or folder format, I believe
×
×
  • Create New...