Jump to content

Buffalo

Members
  • Posts

    283
  • Joined

  • Last visited

Everything posted by Buffalo

  1. This one gets very serious.. I can't play 1.0.4 too, when i start it, it just shows splash screen and quickly crashes. 1.0.3 works fine, so i suggest you getting one.. EDIT: Found out what was causing it: its ENB mod, it doesnt support MTA anymore for some reason..
  2. @from annoying orange
  3. I would definitely download MTA if I was new and first time read main page.
  4. If you type commands via chat, you might not add '/' in front, so all public will learn your password; using console is safer + you can login faster the next time you come to the server as you don't need to type it again
  5. There is 'broken hp anti cheat, that might kick you if you use cancelEvent() on onClientPlayerDamage, i had to stop my project because of this. Although it happened me only when i used it to cease damage from zombies. Of course it might be that some other resource did same thing and it somehow got messy..
  6. Just to let you know.. Cheats never trigger an onClientPlayerDamage event, however onClientPlayerWeaponFire is triggered. This could be a good start.. if you would make a check between these two events
  7. The best and working 100% money anti cheat, is own created money script, using setElementData, few examples: _givePlayerMoney=givePlayerMoney function givePlayerMoney(player,amount) local oldMoney = getElementData(player,'frMoney') setElementData(player,'frMoney',oldMoney+tonumber(amount)) end _takePlayerMoney=takePlayerMoney function takePlayerMoney(player,amount) local oldMoney = getElementData(player,'frMoney') setElementData(player,'frMoney',oldMoney-tonumber(amount)) end Then, if you need to show money player has on screen like GTA does, hide old money using showPlayerHudComponent() and show new one with dxDraw functions.
  8. The following problem may occur because of mods installed into the game. Try running clean gtasa. The worst mods is large texture packs and big draw distance.
  9. give rights to resource, which modifies foldertwo in acl.xml? <ACL> ... <group name="Admin"> <acl name="Admin"/> ... [color=#FF0000]<object name="resource.yourresource" />[/color] </group> ... </ACL>
  10. because you lock it only client side, other players will still be able to enter it. executeSQLQuery Returns a table with the result of the query if it was a SELECT query, or false if otherwise. Shouldn't you use executeSQLUpdate ?
  11. Either you need to type refresh in server console, or your resource is .rar (should be .zip)
  12. setTimer ( moveObject, 2000, 1, [color=#0040FF]UFOA[/color], 10000, xup, yup, zup ) setTimer ( moveObject, 4000, 1, [color=#0040FF]UFOA[/color], 10000, xup1, yup1, zup1 ) setTimer ( moveObject, 7000, 1, [color=#0040FF]UFOA[/color], 10000, xup2, yup2, zup2 ) shouldn't it be UFO? if not, tell us what UFOA is.. function cUFO( player, commandname ) setElementPosition ( player, -1326, -67, 15 ) local UFO = createObject ( 17512, -1326, -67, 55, 180, 0, 0 ) outputChatBox ( "**EVERYONE GET TO SF AIRPORT, IT IS BEING ATTACKED BY UFO'S!**",root,255,100,100 ) setTimer ( moveObject, 2000, 1, UFO, 10000, -1430, 50, 55 ) setTimer ( moveObject, 12000, 1, UFO, 10000, 4178, -1632, 20 ) setTimer ( moveObject, 22000, 1, UFO, 10000, 4178, -1632, 2 ) end addCommandHandler ( "UFO", cUFO )
  13. It's always local player, which you can get with getLocalPlayer(), and you should use triggerServerEvent(string:eventName,getLocalPlayer(),args..), so event source would be local player
  14. Based on your vehicle speed too: local theVehicle = getPedOccupiedVehicle ( source ) local speedx,speedy = getElementVelocity(theVehicle) local px,py,pz = getElementPosition(theVehicle) local nx,ny = speedx * 50 + px, speedy * 50 + py if(math.abs(px-nx) > 1 or math.abs(py-ny) > 1) then local a,b,r = getVehicleRotation ( theVehicle ) local newramp = createObject ( 1655, nx, ny, pz, 0, b, r ) end ..and you should use table for these, to avoid data syncing, if you don't need it to be synced with all clients: something like ramp[source][newramp] = newramp
  15. Maybe you should retrieve this vehicles table server side, then triggerClientEvent() and send it to client side, then proceed check with loop and isElementOnScreen()
  16. Although, you can check if ped is synced by player with getElementSyncer, and if not, then set Train position manually server - side;
  17. They've tried many servers, it happens always and everywhere.
  18. Ye, that's what i thought.. but hey, then why it happens Only if they are playing in same server, if servers are different, all seems to be normal (their ping normally is 150); why ping is getting higher till 25k? it must be bug somewhere..
  19. Hey Sloth, atm server side peds aren't well synced (kinda laggy, b'cause there is no setElementSyncer); did you consider about rewriting the code to client side? I gave it a chance, and now it works way smoother than ever (not mentioning that now the game is completely different when they are walking without teleports); despite the fact, that they aren't synced, and their positions varies to other players, it still made gameplay better; best regards
  20. Give Admin (or that resource in which /register cmd exists) resource acl privilege by modifying acl.xml: <ACL> ... <group name="Admin"> <acl name="Admin"/> ... [color=#FF0000]<object name="resource.admin" />[/color] [color=#00BF00]-- or resource in which /register cmd exists[/color] </group> ... </ACL>
  21. I think you've configured an external web server and anyone joining your server now gets instant time out as download http is not reachable. If it's so, then you need to check if http is accessible to anyone. If not, then you might need to turn off external files hosting by deleting this line from your config:
  22. You mean copying server IP from MTA server browser for friends? ye that would be good feature.. not possible right now, you need to write it down manually; as for now we got not so big servers list, so just tell your friend desired server name, and he can find it easily by entering given name to the search field.
  23. Today i've been told that some player, that connects to the server with his brother (2 pc's, router - same IP) after 10 min's or less gets Time out. After they'd connected to the same server, ping is getting higher, and when it reaches about 25k, he gets time out b'cause of too slow respond to server. If he play alone (without his brother) he won't get anything similar. Is that some kind of bug that i can report to bug tracker? Is there any fixes atm? (tested with 1.0.3)
  24. Buffalo - orangeBuffalo <3<3<3
  25. MTA does not have function like this, however, you can try this resource https://community.multitheftauto.com/index.php?p= ... ils&id=563
×
×
  • Create New...