Jump to content

steven1l

Members
  • Posts

    18
  • Joined

  • Last visited

steven1l's Achievements

Square

Square (6/54)

0

Reputation

  1. its valhalla rollplay mode. but i have fully installed mysql. and there is a file called like sql. and the db seem to be working good
  2. can you tell me how to fix. i cant find what is wrong.
  3. shop-sytem\s_generalshop_system.lua:520 attempt to index local "result" function resStart() local result = mysql:query_fetch_assoc("SELECT value FROM settings WHERE name='globalsupplies' LIMIT 1") globalSupplies = tonumber(result["value"]) end addEventHandler("onResourceStart", getResourceRootElement(), resStart) account-system\s_main.lua:32 attempt to index local "motdresult function resourceStart(resource) setGameType("Roleplay") setMapName("Los Santos") setRuleValue("Script Version", scriptVersion) setRuleValue("Author", "Scripting Team") local motdresult = mysql:query_fetch_assoc("SELECT value FROM settings WHERE name='motd' LIMIT 1") exports['anticheat-system']:changeProtectedElementDataEx(getRootElement(), "account:motd", motdresult["value" ], false ) local amotdresult = mysql:query_fetch_assoc("SELECT value FROM settings WHERE name='amotd' LIMIT 1") exports['anticheat-system']:changeProtectedElementDataEx(getRootElement(), "account:amotd", motdresult["value" ], false ) for key, value in ipairs(exports.pool:getPoolElementsByType("player")) do triggerEvent("playerJoinResourceStart", value, resource) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), resourceStart) hope some on can help me. thanxs
  4. ow srry i think here is somthing wrong addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin ) addEvent("onPlayerDestructionDerbyWin",true) addEventHandler("onPlayerDestructionDerbyWin",getRootElement(), function (winner) givePlayerMoney(winner, 1200) outputChatBox(getPlayerName ( winner ) .. " has won $1200 as last player alive",getRootElement(),0,255,0) setElementData(winner,"Points",tonumber(getElementData(winner,"Points"))+5) setElementData(winner,"Race Wins",tonumber(getElementData(winner,"Race Wins"))+1) end)
  5. *srry dubbel post* but solid snake plz tell me how you fix i need to learn
  6. no error into the debug mode. but the onli see losed games when i won a game he dont see that. so i only get -Point and not + Srry for my bad english
  7. no i want urs its works fine but only the win points not. ur one is better to understand for me so may can u teach me
  8. heey. again i need help. i found race user panel on mta but it only works on losed games https://community.multitheftauto.com/index.php?p=resources&s=details&id=811 I hope some one can help me
  9. still outdate ? wanna help me on the server 81.70.143.86:22003 i what there for you
  10. /upgrade dont work ingame and consonle to ?
  11. Heey. The debug is aroud 100 error? But ts said its oudedate en smothing whits the recourse info
  12. Can i get some more help ? i tryed the debug mode. but there are soo mutch error plz give me some hint how i can make it work
  13. iam modifying race resource
  14. the tutoriol said is a resources
×
×
  • Create New...