Jump to content

daKillar2000

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by daKillar2000

  1. Heey i maked a automatic vehicleupgradesaver but do u know more addenevthandler? i have this addevent, addEventHandler ( "onResourceStop", getRootElement(getThisResource()), saveStuff) addEventHandler ( "onPreResourceStart", getRootElement(getThisResource()), saveStuff) addEventHandler ( "onPlayerLogout", getRootElement(getThisResource()), saveStuff) addEventHandler ( "onPlayerQuit", getRootElement(getThisResource()), saveStuff) addEventHandler ( "onVehicleExplode", getRootElement(getThisResource()), saveStuff)
  2. i know i change that;) but not works
  3. ok ok... now he give this warnings WARNING: login\script.lua:20: Bad argument @ 'addAccount' WARNING: login\script.lua:21: Bad argument @ 'logIn line 20: account = addAccount(player, username, password) line 21: if (logIn(player, account, password) == true) then
  4. yea castillo i send it in private mess. to varez
  5. <group name="Admin"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="resource.login" /> <object name="user.Snaky" /> </group>
  6. not works:( can i send it to mail for look in script?
  7. i know i most put this but not works:O
  8. this made the register not works login works fine:) -------Warnings WARNING: login\script.lua:20: Access denied @ 'addAccount' WARNING:login\script.lua:21: Bad argument @ 'logIn' -------the lines line20: account = addAccount(username, password) line21: if (logIn(player, account, password) == true) then
  9. haha:P and can u help me now:P
  10. yea i know but can anny help me and i not say if i put in me script haha but tekst now works for me on forum';)
  11. nah a command is not very nice login register only does it perfectly but gives the same warning and [lua] [/ lua] does not work help me please
  12. function loginHandler(player, username, password) local account = getAccount(username, password) if (account ~= false) then if (logIn(player, account, password) == true) then triggerClientEvent (player, "hideLoginWindow", getRootElement()) else triggerClientEvent (player, "unknownError", getRootElement()) end else triggerClientEvent (player, "loginWrong", getRootElement()) end end function registerHandler(player, username, password) local account = getAccount(username, password) if (account ~= false) then triggerClientEvent(player, "registerTaken", getRootElement()) else account = addAccount(username, password) if (logIn(player, account, password) == true) then outputChatBox("If you want to change your password, use /changepw", player) triggerClientEvent(player, "hideLoginWindow", getRootElement()) else triggerClientEvent(player, "unknownError", getRootElement()) end end end addEvent("submitLogin", true) addEvent("submitRegister", true) addEventHandler("submitLogin", root, loginHandler) addEventHandler("submitRegister", root, registerHandler) edit by guess who: same reason
  13. hi i create a login system but he gives 2 warning in this lines account = addAccount(username, password) if (logIn(player, account, password) == true) then warning bad argument the line: acces denied addAcount | i put this in acl <object name="resource.newlogin" /> ; warning bad arguemnt the line : logIn Edit by varez: added lua and code tags. I know you won´t but.. Use them next time
  14. Hi I have a question, it is possible to load a health.txd without an ID because I have a file health.txd but there is no identifier for health i know how load and replace cars,weapons,skins
  15. i like the server:D Good server 0wn3r:)
  16. i have this function include in me spawncar function
  17. no not works:( i have putt this but not works if (getAccountData (getAccount(source), "car")) then local car = getAccountData (getPlayerAccount(source), "car") local upgrades = {1001,,1002,1003,1004,1005,1089} for i,v in ipairs (upgrades) do addVehicleUpgrade (getPlayerOccupiedVehicle(source), car) end end
  18. if (getAccountData (getPlayerAccount(source), "car")) then local hawkcar1 = getAccountData (getPlayerAccount(source), "car") local upgrades = {1001,,1002,1003,1004,1005,1089} for i,v in ipairs (upgrades) do addVehicleUpgrade (getPlayerOccupiedVehicle(source), car) end end i have put this in me carspawner but this not works:(
  19. we need a scripter for a nice server we have much thing to do! but we want more if you want help on the server post then your email here
×
×
  • Create New...