Jump to content

diabeloo

Members
  • Posts

    8
  • Joined

  • Last visited

Details

  • Gang
    gang

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

diabeloo's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. You have noones permission to reopen VIP ... fakers everywhere
  2. so what part would u need to see to tell why its nil?
  3. Hey its me again , i have a problem on a multigamemode script . the problem is simple 2 rooms work on that mgm and always when i join on other 3 rooms in debugscript 3 there is a error : " ...\client.lua:298: bad argument #1 to 'ipairs' (table expected ,got nil ) " and here is the part of script ( the error is on 17. line ) : addEvent("onServerSendMapTable",true) addEventHandler("onServerSendMapTable",root, function(map,rt,w,res,files,size,pos) if map == false then waiting = true; return; else waiting = false; end realtime = rt weather = w triggerServerEvent("onClientWantsKTime",g_Me) local timer = 50 if g_Map and (#g_Map >= 1) then unloadMap() end for k,v in ipairs(map) do local element = v[1] local ne = false if element == "object" then ne = createObject(v[2],v[3],v[4],v[5],v[6],v[7],v[8]) setElementInterior(ne,v[9]) setElementAlpha(ne,v[11]) setObjectScale(ne,v[12]) if v[10] == "false" then setElementCollisionsEnabled(ne,false) end elseif element == "marker" then ne = createMarker(v[2],v[3],v[4],v[5],v[6],v[7]) if v[8] then setElementInterior(ne,v[8]) end local r,g,b = hex2rgb(v[7]:sub(1,7)) setMarkerColor(ne,r,g,b,240) setElementID(ne,v[9]) elseif element == "racepickup" then ne = createObject(g_ModelForPickupType[v[2] ], v[4], v[5], v[6],v[7],v[8],v[9]) local ob = createColSphere(v[4],v[5],v[6], 3.5) setElementData(ob,"type",v[2]) setElementData(ob,"veh",v[3]) g_Pickups[#g_Pickups+1] = ob g_Pickups2[#g_Pickups2+1] = ne elseif element == "vehicle" then ne = createVehicle(v[2],v[3],v[4],v[5],v[6],v[7],v[8]) setElementFrozen(ne,true) setElementCollisionsEnabled(ne,false); elseif element == "script" then exports["vip_load"]:downloadfiles(files,res,size) exports["vip_load"]:loadScript(v[2],res,getElementData(g_Me,"Map")) elseif element == "spawnpoint" then g_Spawns[#g_Spawns+1] = {v[2],v[3],v[4],v[5],v[6],v[7],v[8]} end if ne ~= false then g_Map[#g_Map+1] = ne end end local room = getElementData(g_Me,"room"); if room == 1 or room == 4 or room == 5 or room == 6 then for k,v in ipairs(getElementsByType("player")) do local room2 = getElementData(v,"room"); local veh = getPedOccupiedVehicle(v); if (room2 == room) and veh then if room == 4 or room == 5 or room == 6 then if getElementData(v,"State") == "Alive" then setCameraTarget(v); break; end else setCameraTarget(v); break; end end end end can someone help me to fix that error ?
  4. it would be easier if u would add me on skype cuz it would be easier for u to see the file in notepad my skype is jeffhardyenigma2
  5. dashboard3/server.lua i posted the file location in first post
  6. And how can i fix it ? im not such pro scripter .
  7. what u mean with that? the script name is dashboard , i changed it like 3-4 days ago from dashboard3 to dashboard . it doesnt matter , just the map buy is bugged cuz the map is not set , i gave admin rights to the dashboard and nothing .
  8. Hey i would like to ask u for help . my problem is that on the userpanel that i have map buy is bugged ( it has a map quene too ) , when i buy a map it says in console : local g_MapInfoList function loadMapInfoAll(resName) local rows = executeSQLQuery( 'SELECT * FROM race_mapInfo' ) g_MapInfoList = {} for i,row in ipairs(rows) do local map = getResourceFromName( row.resName ) if map then local mapInfo = getMapInfo( map ) mapInfo.infoName = row.infoName mapInfo.playedCount = row.playedCount mapInfo.lastTimePlayed = row.lastTimePlayedText mapInfo.hunters = row.hunter mapInfo.toptimes = row.toptimes end end end function getMapInfo( map ) if not g_MapInfoList then loadMapInfoAll() end if not g_MapInfoList[map] then g_MapInfoList[map] = {} end local mapInfo = g_MapInfoList[map] if mapInfo then return mapInfo end end function sendMapInfoToPanel(thePlayer,mapName) if mapName then mapInfo = getMapInfo(findMap(mapName)) author = load(findMap(mapName)) mapInfo.author = author.info['author'] toptimes = loadToptimes(mapName) mapInfo.likes = getLikeCount(findMap(mapName)) if mapInfo then callClientFunction(thePlayer,"setMapInfo",mapInfo,toptimes) end end end can some tell me whats wrong on it ? ;/
×
×
  • Create New...