Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. Jaysds1

    Ports problem

    Try this site: http://portforward.com/
  2. That's true, Oh, and here's a webmin aka web-admin for the raspberry pi.
  3. It would be nice to use the Raspberry Pi as a server, but it isn't the strongest/best server hosting device... Unless you buy more than one and make a super computer with it. Ex: More Results
  4. Jaysds1

    time out problem

    Also, you could check your ip here: http://apps.jworld137.com/myIP.php
  5. Jaysds1

    time out problem

    I could see you have a TP Link Router, make sure you reserve a permanent address for that computer; Example: 192.168.1.101
  6. Jaysds1

    time out problem

    Did you allow access on the computer? More info here: https://forum.multitheftauto.com/viewtopic.php?f ... =+Problems
  7. You can't change the position of the menu labels/buttons.
  8. Those are images located here: "MTA San Andreas 1.x\MTA\cgui\images". If you want to edit them, I suggest you copy them into another folder and edit them. If you have anymore questions, then just back here.
  9. Jaysds1

    The last reply

    Nice Signature Dude...
  10. There were previous suggestions about this and the MTA Dev denied it because they would like it to be open to community if they have the same problem unless the topic creator wants it locked.
  11. Right click on MTASA.exe then click on "Run As Administator", after see if it goes through smoothly, if you get the same problem, then run this MTADiag, then post the generated Pastebin URL here.
  12. It's actually "ZeroFour", and your right, they should change it to "Website Design by: HTML5 UP" and add "Design Modified by: Skufu Web Developers" or something like that.
  13. https://wiki.multitheftauto.com/wiki/Se ... nistrators
  14. Make sure your an admin.
  15. LOD is like another type of object. Read here on how to remove it: viewtopic.php?f=91&t=43642&hilit=+LOD
  16. Read this topic: viewtopic.php?f=91&t=43642&hilit=+LOD
  17. Well yes you could create it using those but it wont look as good as DX Functions
  18. Can you explain more on this please.
  19. try this: Server function banList ( ) local bans = dbQuery ( banSQL, 'SELECT * FROM banTable' ) local result = dbPoll ( bans, -1 ) for _, ban in pairs ( result ) do triggerClientEvent ( 'getBansList', root, ban ) end end
  20. ok, try this: local blip = {} addEventHandler('onPlayerSpawn',root, function(_, _, _, _, theTeam) if (not isElement(blip[source])) then blip[source] = createBlipAttachedTo(source) end local r, g, b = getTeamColor(theTeam) setPlayerNametagColor(source, r, g, b) setBlipColor(blip[source], r, g, b, 255) end) setTimer(function() for source,b in pairs(blip)do if not isElement(source) then destroyElement(b) blip[source] = false end end end,10000,0)
  21. try this: local sprint = 100 addEventHandler ( "onClientPlayerSpawn",localPlayer,function () local sprint = 100 addEventHandler("onClientRender",root,sprintDown) addEventHandler("onClientRender",root,sprintUp) end) function sprintDown ( ) if ( getControlState( "sprint" ) ) and sprint == 100 then sprint = sprint - 0.01 end if sprint <= 1 then sprint = 0 toggleControl( "sprint", false ) end end function sprintUp ( ) if ( getControlState ( "sprint" ) ) == false and sprint < 100 then sprint = sprint + 0.01 toggleControl( "sprint", true ) end end
  22. Didn't I already fixed this in another topic? viewtopic.php?f=91&t=62595
  23. try this: addEventHandler('onClientWeaponFire', root, function() local levelnum = getElementData(getLocalPlayer(),"levelnum") if(getElementModel(source) == 31) then -- M4 if(levelnum < 3) then cancelEvent() outputChatBox('You cant use M4') end -- if level is lower than 3 (100exp), cancel shooting and send message elseif(getElementModel(source) == 34) then -- Sniper if(levelnum < 4) then cancelEvent() outputChatBox('You cant use Sniper') end -- if level is lower than 4 (200exp), cancel shooting and send message end end)
  24. Np, Don't forget to look at how I did the script.
  25. Nah, I've set a timer for it to run every 10secs to see if every player is still in the server so there's no lose ends of the script.
×
×
  • Create New...