Jump to content

mrhunter739

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by mrhunter739

  1. mrhunter739

    Question

    https://wiki.multitheftauto.com/wiki/GetAccountName https://wiki.multitheftauto.com/wiki/SetPlayerName function changeOnLogin(thePreviousAccount, theCurrentAccount, autoLogin) setPlayerName(source, getAccountName(theCurrentAccount)) end addEventHandler("onPlayerLogin", getRootElement(), changeOnLogin)
  2. thank you, it helped me alot
  3. still doesn't works, when I type it to the web browser it says not found. where i must type it? to the web browser?
  4. Can someone explain me how works MTA web resources like webstats, webadmin, resourcemanager... ? I don't know why It doesn't work. Please help me what I should do. When I open up html file I see this:
  5. THANK YOU, your script works perfect
  6. Thanks, I tested your script and problem is with "player" parameter. I wanted to use event "onPlayerWinDD" from "destructionderby.lua" file to start function explosionsON but I don't know how to apply this function on player which has won the match. Link: http://bugs.mtasa.com/print_bug_page.php?bug_id=6886
  7. I want to make a script that will create explosion on player which has won the game, but I don't know why it doesn't work. If someone know what's wrong please tell me. addEvent("onPlayerWinDD", true) addEvent("onGamemodeMapStop", true) function explosionsON(player) local pX, pY, pZ = getElementPosition(player) createExplosion(pX, pY, pZ, 1, player) boom = setTimer(explosionsON( ), 1000, 1) end function explosionsOFF() killTimer(boom) end addEventHandler("onGamemodeMapStop", getRootElement(), explosionsOFF) addEventHandler("onPlayerWinDD", getRootElement(), explosionsON)
×
×
  • Create New...