Jump to content

jwalks

Members
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jwalks

  • Rank
    Square

Details

  • Gang
    Taylor
  1. jwalks

    HELP LUA

    [2011-01-09 16:31:27] WARNING: lolmode\gui_s.lua:168: Bad argument @ 'xmlNodeFindChild' [2011-01-09 16:31:27] WARNING: lolmode\gui_s.lua:169: Bad argument @ 'xmlNodeGetChildren' [2011-01-09 16:31:27] WARNING: lolmode\gui_s.lua:123: Bad argument @ 'xmlNodeFindChild' [2011-01-09 16:31:27] WARNING: lolmode\gui_s.lua:124: Bad argument @ 'xmlCreateChild' [2011-01-09 16:31:27] WARNING: lolmode\gui_s.lua:125: Bad argument @ 'xmlNodeSetAttribute' [2011-01-09 16:31:27] WARNING: lolmode\gui_s.lua:126: Bad argument @ 'xmlNodeSetAttribute' [2011-01-09 16:31:27] WARNING: lolmode\gui_s.lua:127: Bad ar
  2. jwalks

    HELP LUA

    function findPlayerIndexByName (playeraccountname) local root = xmlLoadFile ("players.xml") local allPlayers = xmlNodeGetChildren (root) local k = -1 for i,v in ipairs (allPlayers) do k = k+1 if (xmlNodeGetAttribute (v,"name") == playeraccountname) then return k end end xmlUnloadFile (root) end
  3. jwalks

    HELP LUA

    <players> <player name="JasperNL=D"> <character name="JasperNL=D" skin="106" cr="255" cg="127" cb="0" px="-1959.99609375" py="284.21875" pz="36.46875" pi="0" pd="0" cash="99999549" bank="6255" health="54.117649078369" armor="0" house="0"> <weapons w="0" wammo="1" /> </character> <character name="JasperNL=O" skin="106" cr="127" cg="255" cb="0" px="-1973.9951171875" py="294.1162109375" pz="36.171875" pi="0" pd="0" cash="703" bank="92501496" health="65.098037719727" armor="0" house="1"> <weapons w="0"
  4. jwalks

    HELP LUA

    --[[ Hello downloader:> When you want to set something to the "character data", you need to do the following things local accountName = getAccountName(getPlayerAccount(source)) local characterindex = getCharacterIndexByCharacterName (accountName,charactername) local root = xmlLoadFile ("players.xml") local playerRoot = xmlFindChild (root,"player",findPlayerIndexByName(accountName)) if (characterindex) then local characterRoot = xmlNodeGetChildren (playerRoot,tonumber(characterindex)-1) xmlNodeSetAttirbute (characterRoot,"tag",thingyo
  5. the resources fail to start i cant find why and shuts the server down
  6. jwalks

    HELP

    no the older viersoin like the same way paradise roleplay was released
  7. jwalks

    HELP

    does anyone know where i can find the game mode the vallhalla released please and thank you
  8. jwalks

    [HELP]LUA

    function spawnVehs() for k, v in ipairs (getElementsByType("veh")) do createVehicle(getElementData(v,"model"),getElementData(v,"posX"),getElementData(v,"posY"),getElementData(v,"posZ"),0,0,getElementData(v,"rotation")) end for k, v in ipairs (getElementsByType("vehicle")) do toggleVehicleRespawn(v,true) setVehicleIdleRespawnDelay(v,120000) end end addEventHandler("onResourceStart",getResourceRootElement(),spawnVehs) function respawnVeh() setTimer(respawnVehicle,5000,1,source) end addEventHandler("onVehicleExplode",getRootElement(),res
  9. im not sure wat line ur telling me to fix cuz its the same thing i got
  10. Editor = {} Gate = {} Gate2 = {} Precision = {} status = {} coll = {} coll2 = {} coll3 = {} coll4 = {} -- this script mod is (no longer) PRIVATE -- - Deject3d function startBuilding(playerSource, commandName, objectid) if not objectid then outputChatBox("usage: /addgate objectid teamname", playerSource) return false end local team = getTeamName(getPlayerTeam(playerSource)) if team then team = getTeamName(team) else team = "" end end for i = 1,20 do
  11. wat am i sopose to fix in the script to make it work?
  12. 18:09:13] SCRIPT ERROR: gatemaker\server.lua:20: ')' expected near 'kw2' [18:09:13] WARNING: Loading script failed: gatemaker\server.lua:20: ')' expected near 'kw2' this comes up wen i put it in
  13. jwalks

    House_system

    is anyone releasing a house system?
  14. Editor = {} Gate = {} Gate2 = {} Precision = {} status = {} coll = {} coll2 = {} coll3 = {} coll4 = {} -- this script mod is (no longer) PRIVATE -- - Deject3d function startBuilding(playerSource, commandName, objectid) if not objectid then outputChatBox("usage: /addgate objectid teamname", playerSource) return false end local team = getTeamName(getPlayerTeam" class="kw2">getPlayerTeam(playerSource)) if team then team = getTeamName(team) else team = "" end end
  15. jwalks

    help

    im just a beginner level at scripting and still learning
×
×
  • Create New...