
daKillar2000
Members-
Posts
82 -
Joined
-
Last visited
Everything posted by daKillar2000
-
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)
-
i know i change that;) but not works
-
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
-
yea castillo i send it in private mess. to varez
-
nop the name is login:O
-
<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>
-
not works:( can i send it to mail for look in script?
-
i know i most put this but not works:O
-
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
-
Can Any Help Me Please
-
haha:P and can u help me now:P
-
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';)
-
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
-
ok thx i whill test it
-
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
-
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
-
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
-
i like the server:D Good server 0wn3r:)
-
srry men i know it now:p
-
i have this function include in me spawncar function
-
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
-
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:(
-
thats a old topic
-
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