Jump to content

MIKI785

Members
  • Posts

    1,131
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by MIKI785

  1. MIKI785

    Block login

    There is actually, if you catch the onPlayerChat. You might be able to see if it was the console or player ( with some easy checks ). onPlayerChat gets triggered when player uses commands 'say', 'teamsay' or 'me'. You don't know if they were triggered via chat or console, in a way everything goes through console. Chatbox just sends it to console. There would be a complicated way of detecting it using isChatBoxInputActive and stuff..
  2. MIKI785

    Question :D

    Using math.ceil will do. x, y, z = getElementPosition(localPlayer) wang = getDistanceBetweenPoints3D(math.ceil(x), math.ceil(y), math.ceil(z), -2017, 302, 34) Or simply just math.ceil(wang).
  3. MIKI785

    Block login

    What? Putting '/' before message in chat simply means that you're writing that in console. There is no difference between chat and console in terms of commands. CastielRecords, youre welcome.
  4. Player isn't defined... testMarker = createMarker(-1456.7243652344, 532.509765625, 18.010332107544, "cylinder", 7, 100, 100, 100) function attach(player) vehicle = getPedOccupiedVehicle ( player ) attachElements ( vehicle, testMarker, 0, 0, 5 ) end addCommandHandler("attach",attach)
  5. You have to use specific object... create it using createObject or get it by ID using getElementByID.
  6. MIKI785

    Block login

    By F8? Console? Command 'login'? If so: addEventHandler("onPlayerCommand", root, function (command) if command == "login" then cancelEvent() end end)
  7. When youre setting the text of the item using guiGridListSetItemText make sure the last argument is false, if its true it tries to sort it as numerical list not alphabetically.
  8. The marker the player drove through is simply the source element of onMarkerHit.. and it gets fired twice because if the player is in a vehicle it triggers for the vehicle and the player separately.
  9. MIKI785

    [HELP] BASE

    Admin panel has nothing to do with it at all! Those are ACL groups... nothing more.
  10. MIKI785

    The last reply

    Nope, my reply is still here. so?
  11. MIKI785

    ffs music

    Learn to read first... its not possible... its a dev branch.. it might take a looooong time before its implemented in the release version of mta.
  12. compiled files Edit any thing will make it not work.. Then you simply dont know Lua... look at ixjf's post and learn.
  13. MIKI785

    ffs music

    Not possible at the moment.
  14. It doesnt, i think it aupports just php by default.
  15. viewtopic.php?f=13&t=77295
  16. If you've got a VPS then that's ok. You should be able to make a link easily through SFTP client like WinSCP, i used it myself (not for this purpose but it's the same thing).
  17. He's using loadstring... you can replace any function you want... that's how lua works you know. I did this myself so i know..
  18. You need to know the basics of Linux to make the link or use mod_alias in apache2. If you don't know these things then don't use it... do you even have a VPS?
  19. No, how would it? You just link it there and the web server will access it.
  20. It's the same thing again... redefine the function and keep the handlers in a table then run through it and remove them.
  21. What you can do is link the downloadurl to folder mods/deathmatch/resources-cache/http-client-files or something like that.. you won't then need to upload anything.
×
×
  • Create New...