Jump to content

MIKI785

Members
  • Posts

    1,131
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by MIKI785

  1. MIKI785

    The last reply

    O W N E D Why would you do that?
  2. As far i know the defualt scoreboard dosen't support images. Then you're wrong... it supports them. https://code.google.com/p/mtasa-resourc ... 1014&r=882
  3. Try not using the arguments after the targetPlayer So: createProjectile(localPlayer,20,354.0361328125,2027.9912109375,26.000198364258,nil,localPlayer)
  4. "it doesn't work" isnt good enough... what about debug?? And if you're trying that on local server than it won't work obviously...
  5. What? You actually shouldn't even create projectiles like this because it will create it multiple times (for each client).. try it this way: function createMissiles() missileMarker = createMarker(355.373046875,1944.513671875,17.640625,"corona",1.5,255,0,0,255) -- create red corona end addCommandHandler("missile",createMissiles) function triggerMissiles(hitPlayer,matchingDimension) if source == missileMarker and hitPlayer == localPlayer then local x,y,z = getElementPosition(hitPlayer) setTimer(function() createProjectile(localPlayer,20,354.0361328125,2027.9912109375,26.000198364258,nil,localPlayer,0,90,0,1,1,1) end,250,0) end end addEventHandler("onClientMarkerHit",getRootElement(),triggerMissiles)
  6. Use triggerServerEvent and save it in a variable on the server if you want it synced.. then sync it to players using triggerClientEvent whenever it gets changed.
  7. Try using it without the timer. I'm not sure but i think that if you use a timer like that and a local variable inside it the variable is nil.
  8. I would think that the right place to post this would be here: viewforum.php?f=177 This section is for seeking help with your piece of code.. nothing else.
  9. Nice map but the video is sometimes bit too bright for me
  10. MIKI785

    The last reply

    Last reply (dont reply to this)
  11. Well obviously... Use this instead of the filepath... {type="image", src="Filepath", width=30, height=20} just customize it
  12. maxfuel je false, tudiz hodnota nebyla nastavena pomoci setElementData
  13. It was never added... it's built in. Use cancelEvent in onPlayerChat.
  14. There might be setPlayerMoney somewhere clientsided setting it to 0 so whenever server updates it it shows correct value as if it's changed clientside it doesn't get synced.
  15. Youre using it in onPlayerJoin... resource didn't start on client side yet, why would you use that event anyway? Just use onClientResourceStart...
  16. MIKI785

    MTA 1.4

    Same thing happened to me today actually, didn't pay much attention to it (thought i may have done something wrong but i doubt it) but if it didn't happen to just me than there might be some kind of issue.
  17. Server simply doesn't know about this stuff afaik, client does because it streams it, it can "see" it. Server has just positions, just numbers and stuff like that.. You can do it yourself though, simply use triggerServerEvent.
  18. MIKI785

    Database

    How i update my servers (that are on linux) is that i simply replace just the .so libraries and mta-server that are in the main package, that's all you need. No need to replace any configs, .db files or anything like that.
  19. The issue is there since 2011, would be really cool feature but i guess it's not that simple to "just" add something..
  20. 0.3c? what are you blabbering about? Any object can be imported using engine functions.
  21. MIKI785

    Help ~ IRC

    You need the sockets module, can't you read? https://wiki.multitheftauto.com/wiki/Modules/Sockets
×
×
  • Create New...