Jump to content

Gastonito

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Gastonito

  1. Gastonito

    Help

    addEvent("onPlayerArrested") addEvent("onPlayerReleased") local jailLocations = {} local arrestedCrims = {} local cell = {1370.3150634766, -841.86193847656, 1185.9202880859} local zoneTables = { ["los santos"] = {1543.2390136719,-1676.0291748047,13.556066513062,0}, ["san fierro"] = {-1601.7484130859,722.07757568359,11.283002853394,0}, ["las venturas"] = {2289.6687011719,2423.37890625,10.8203125,0}, ["flint county"] = {-550.44763183594,-1006.8661499023,24.081153869629,0}, ["whetstone"] = {-2163.6845703125,-2387.5734863281,30.625,0}, ["red county"] = {633.32086181641,-571.38275146484,16.3359375,0}, ["tierra robada"] = {-1417.8824462891,2631.4116210938,55.8359375,0}, ["bone county"] = {-206.83717346191,981.92529296875,19.221559524536,0}, ["unknown"] = {-206.83717346191,981.92529296875,19.221559524536,0} } local prisonCells = { {1382.9124755859,-865.97760009766,1181.7562255859}, {1379.3326416016,-866.18615722656,1181.7562255859}, {1374.9655761719,-866.15270996094,1181.7562255859}, {1371.0844726563,-865.92327880859,1181.7562255859}, {1367.1547851563,-865.70574951172,1181.7562255859}, {1363.0505371094,-866.38110351563,1181.7562255859}, {1359.2626953125,-865.60180664063,1181.7562255859}, {1355.2829589844,-865.80017089844,1181.7562255859}, {1351.6278076172,-865.64959716797,1181.7562255859}, {1347.3681640625,-865.76251220703,1181.7562255859}, } function arrestCrim(crim,cop,message,message2,spawned) if crim and getPlayerTeam(crim) then if not arrestedCrims[crim] then if not spawned then if getElementData(crim,"jailed") then return end end setElementData(crim, "jailed", true) arrestedCrims[crim] = true local crimWanted = getWantedLevel(crim) local jailTime = crimWanted * 6 if getElementData(crim, "surrender.lesstime") then jailTime = jailTime * 0.50 toggleAllControls(crim, true) setElementData(crim,"surrender.lesstime",false) end if cop then local money = 2000 + (crimWanted * 1000) exports.SAEGcommands:giveMoney(cop,money) end setInsideJail(crim,jailTime,crimWanted,adminjail) setInJail(crim,true) removePedFromVehicle(crim) takeAllWeapons(crim) triggerEvent("onPlayerArrested",root,crim,cop) if message then exports.SAEGcommands:sendMessage(message, 6,10,103, false, false, true) end if message2 then exports.SAEGcommands:sendMessage(message2,80,155,130,crim) end end end end addEvent("arrestCrim",true) addEventHandler("arrestCrim",root,arrestCrim) function setInsideJail(crim,jailTime,wanted,adminjail) fadeCamera(crim,false) tempweapons = {} w = getWantedLevel(crim) local username = getElementData(crim,"username") triggerClientEvent(crim,"startJailCounter",crim,jailTime) setTimer(warpPlayerToCell, 1000, 1, crim,cell,true,wanted,adminjail) end function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end function warpPlayerToCell(crim,place,tojail,wanted,adminjail) if crim and isElement(crim) then arrestedCrims[crim] = nil local newDim if tojail then -- if he is sent to jail local x,y,z = getElementPosition(crim) local zone = getZoneName(x,y,z,true) local zTable = zoneTables[zone:lower()] jailLocations[crim] = zTable newDim = 0 setElementHealth(crim, 100) -- -- -- -- -- -- -- -- -- -- -- -- -- -- - local randCell = math.random(#prisonCells); local X,Y,Z = prisonCells[randCell][1], prisonCells[randCell][2], prisonCells[randCell][3] setElementPosition(crim, X, Y, Z) setPedSkin(crim, 312) toggleControl(crim, "jump", false) else -- released from jail newDim = 0 setElementInterior(crim, 0, place[1], place[2], place[3]) jailLocations[crim] = nil if theBlip and isElement(theBlip) then setElementVisibleTo(theBlip,root,true) end toggleControl(crim, "jump", true) end setElementDimension(crim, newDim) end end function playerGetReleased() -- source is crim if getElementType(source) == "player" then local injail = getInJail(source) if injail == true then toggleControl(crim, "jump", true) local spawn = jailLocations[source] or zoneTables["los santos"] setTimer(warpPlayerToCell,1000,1,source,spawn,false) triggerEvent("onPlayerReleased",getRootElement(),source) triggerClientEvent("onClientPlayerReleased",source) exports.SAEGcommands:sendMessage(getPlayerName(source).." has been realeased from Prison.",0,255,0, false, false, true) setWantedLevel(source,0) setElementData(source, "jailed", false) setInJail(source,false) -- -- -- -- -- -- -- -- -- -- -- -- -- setElementPosition(source, jailLocations[source][1], jailLocations[source][2], jailLocations[source][3]) jailLocations[source] = nil end end end addEvent("onPlayerGetReleased", true) addEventHandler("onPlayerGetReleased", root, playerGetReleased) -- JAILBREAKS OMG local vert1 = {1344.802734375,-864.62359619141,1185.9268798828} local vert2 = {1344.8363037109,-866.92114257813,1185.9268798828} local w = vert2[1] - vert1[1] local h = vert2[2] - vert1[2] local d = vert2[3] - vert1[3] prisonCol = createColCuboid(vert1[1], vert1[2], vert1[3], w, h, d) setElementDimension(prisonCol, 0) setElementInterior(prisonCol, 0) function playerEnterJail(element,dimension) if element and dimension and getElementType(element) == "player" then local team = getPlayerTeam(element) if team and not (copTeams[getTeamName(team)] or getInJail(element)) then -- the player who entered jail area isn't a cop exports.SAEGcommands:sendMessage("*JAIL* You are have entered the jail.",255,255,255,element) if (texthasdisplayed == nil) then texthasdisplayed = true exports.SAEGpolice:alertPolice("*SAEG Prison* There is a criminal breach in the prison, all units respond!") setTimer(rePrintText, 15000, 1) end modifyWantedLevel(element, 10) elseif copTeams[getTeamName(team)] and getTeamName(team) == "Police" then if isPedInVehicle(element) then blowVehicle(getPedOccupiedVehicle(element)) end if not isPedDead(element) then killPed(element) end exports.SAEGcommands:sendMessage("*SAEG Prison* You are not allowed to enter the jail as a cop. Leave its defense to the army.",255,255,255,element) end end end function playerLeaveSmallJailArea(element,dimension) if element and dimension and getElementType(element) == "player" then if getTeamName(getPlayerTeam(element)) == "Admin" then setInJail(element, 0) setElementData(element, "jailed", false) end -- it's important to use element data here if ( getElementData(element,"jailed") and not (getTeamName(getPlayerTeam(element)) == "Admin" or isPedDead(element)) ) then -- player was in jail if isElementWithinColShape(element,JailColShape) and not isElementWithinColShape(element,CellsColShape) and not isElementWithinColShape(element,CellsYardColShape) then local curWanted = getWantedLevel(element) or 0 local newWanted = tonumber(curWanted)+10 if newWanted > 36 then newWanted = 36 elseif newWanted < 0 then newWanted = 0 end setWantedLevel(element,newWanted) jailLocations[element] = nil for k,v in ipairs({"fire","enter_exit","action","crouch","next_weapon","previous_weapon"}) do toggleControl(element,v,true) end triggerEvent("onPlayerReleased",root,element) triggerClientEvent( element, "onClientPlayerReleased", element) setInJail(element,0) setElementData(element, "jailed", false) local blip = getBlipAttachedToPlayer(element) if blip then setElementVisibleTo(blip,root,true) end exports.SAEGcommands:sendMessage("You have n out from the Los Santos Prison!",100,100,255, element, false) exports.SAEGPolice:alertPolice( getPlayerName(element).." has broken out from the Los Santos Prison!" ) --[[elseif isElementWithinColShape(element,JailColShape) and not (isElementWithinColShape(element,deJailColShape1) or isElementWithinColShape(element,deJailColShape2)) then modifyWantedLevel(element,20) jailLocations[element] = nil for k,v in ipairs({"fire","enter_exit","action","crouch","next_weapon","previous_weapon"}) do toggleControl(element,v,true)]]-- else if isElementWithinColShape(element,JailColShape) and isElementWithinColShape(element,CellsYardColShape) and isElementWithinColShape(element,CellsColShape) then local curWanted = getWantedLevel(element) or 0 local newWanted = tonumber(curWanted)+5 if newWanted > 36 then newWanted = 36 elseif newWanted < 0 then newWanted = 0 end setWantedLevel(element,newWanted) -- 5 stars for a try. exports.SAEGcommands:sendMessage("You have left your cell! Police have been alarmed!",100,100,255, element ) if (texthasdisplayed == nil) then texthasdisplayed = true exports.SAEGPolice:alertPolice("Some of the Prisoners in LS Prison have left their cells, respond immediately!") setTimer(rePrintText, 15000, 1) end end end --[[ triggerEvent("onPlayerReleased",root,element) triggerClientEvent( element, "onClientPlayerReleased", element) setInJail(element,0) setElementData(element, "jailed", false) local blip = getBlipAttachedToPlayer(element) if blip then setElementVisibleTo(blip,root,true) end exports.SAEGcommands:sendMessage(getPlayerName(element).." has broken out from the Los Santos Prison!",100,100,255, element, false) exports.SAEGPolice:alertPolice( getPlayerName(element).." has broken out from the Los Santos Prison!" ) ]]-- end end end addEventHandler ( "onPlayerWasted", root, function() if getElementData(source,"jailed") then setElementData(source,"jailed",false) end end ) addEventHandler("onColShapeHit",OutSideYarColShape,playerEnterPrisonsYardArea) addEventHandler("onColShapeHit",JailColShape,playerEnterPrisonsArea) addEventHandler("onColShapeHit",CellsColShape,playerEnterPrisonsArea) addEventHandler("onColShapeHit",CellsYardColShape,playerLeaveSmallJailArea) addEventHandler("onColShapeLeave",CellsColShape,playerLeaveSmallJailArea) function rePrintText() texthasdisplayed = nil end --[[ Doesn't make sense with the new jail function playerVehicleEscape( enteringPlayer ) if ( getInJail(enteringPlayer) ) then -- player was in jail if (not jailLocations[element] == nil) then jailLocations[element] = nil end for k,v in ipairs({"fire","enter_exit","action","crouch","next_weapon","previous_weapon"}) do toggleControl(enteringPlayer,v,true) end triggerEvent("onPlayerReleased",root,enteringPlayer) triggerClientEvent( enteringPlayer, "onClientPlayerReleased", enteringPlayer) modifyWantedLevel(enteringPlayer,5) local blip = getBlipAttachedToPlayer(enteringPlayer) if blip then setElementVisibleTo(blip,root,true) end end end addEventHandler("onVehicleEnter", getRootElement(), playerVehicleEscape) ]]-- function wardenWeaponTake( leaveElement ) if ( getElementType( leaveElement ) == "player" ) then if ( getElementData( leaveElement, "class" ) == "Prison Warden" ) then takeAllWeapons( leaveElement ) end end end function wardenWeaponGive( hitElement ) if ( getElementType ( hitElement ) == "player" ) then if ( getElementData( hitElement, "class" ) == "Prison Warden" ) then giveWeapon( hitElement, 3, 1) giveWeapon( hitElement, 41, 500) giveWeapon( hitElement, 31, 1000) end end end addEventHandler( "onColShapeHit", JailColShape, wardenWeaponGive ) addEventHandler( "onColShapeLeave", JailColShape, wardenWeaponTake ) function fadePlayerIn(crim) if crim then if isElement(crim) then fadeCamera(crim,true) end end end function resetCrimOnQuit() jailLocations[source] = nil end addEventHandler("onPlayerQuit", root, resetCrimOnQuit) function storeJailTime() if getElementData(source, 'SAEGPolice.jailTimer') ~= nil then local id = getElementData(source, 'id') outputDebugString("ID: ".. id) outputDebugString("TD: ".. getTimerDetails( getElementData(source, 'RPGPolice.jailTimer') ) ) local timeInJail,_,_ = getTimerDetails(getElementData(source, 'SAEGPolice.jailTimer')) executeSQLCreateTable("quitTimerJail","id INTEGER, timeLeftInJail INTEGER") executeSQLInsert("quitTimerJail","'"..id.."','"..timeInJail.."'") end end addEventHandler("onPlayerQuit", root, storeJailTime) function getBlipAttachedToPlayer(player) if player and isElement(player) then local attachedElements = getAttachedElements(player) for k,v in ipairs(getAttachedElements(player)) do if getElementType(v) == "blip" then return v -- no break needed end end -- if it didn't return there return false end end addEvent("takeAll",true) addEventHandler("takeAll",getRootElement(),function() if isElement(source) then takeAllWeapons(source) end end) function saveJailTimer(timeInJail,id) outputDebugString("!") if id and timeInJail then outputDebugString(""..timeInJail) outputDebugString(""..id) local result = executeSQLSelect("quitTimerJail", "id, quitTimer", "id = '"..id.."'", 1) if result and #result > 0 then outputDebugString("Olsd timer"..timeInJail) return else executeSQLInsert("quitTimerJail","'"..id.."','"..timeInJail.."'") end end end addEvent("saveJailTimer",true) addEventHandler("saveJailTimer",root,saveJailTimer) Sure dude, ask me any question private or come ingame if u want me to proove that for u ......
  2. Gastonito

    Help

    Hello guys, i get this error too much in my server's console, can anyone help ? [20:37:18] ERROR: [Helps]/SAEGpolice/jail_server.lua:316: attempt to concatenate local 'id' (a boolean value)
  3. /mods not working dude ......
  4. Yes it is mine, i didn't do it, my scripter did, but he also didn't know what's the problem !! I just know it is somewhere in the menu script, and i don't know what's the bugged thing, so can u help ?
  5. client : function getPositionFromElementOffset(element,offX,offY,offZ) local m = getElementMatrix ( element ) -- Get the matrix local x = offX * m[1][1] + offY * m[2][1] + offZ * m[3][1] + m[4][1] -- Apply transform local y = offX * m[1][2] + offY * m[2][2] + offZ * m[3][2] + m[4][2] local z = offX * m[1][3] + offY * m[2][3] + offZ * m[3][3] + m[4][3] return x, y, z -- Return the transformed point end local localPlayer = getLocalPlayer() local resX, resY = guiGetScreenSize() local startX = resX * (2 / 3) local startY = 0 local windowX = resX * (2 / 3) local windowY = resY local screenW, screenH = guiGetScreenSize() --[[ TARGET VIEW CLEANER CODE local invisibles = {} function removeInvisibles() for i,v in ipairs(invisibles) do setElementAlpha(v[1], v[2]) table.remove(invisibles, i) end end--]] local spawnPending = false function initializeEverything(resourceStarted) if getResourceName(resourceStarted) == "SAEGmenu" or getResourceName(resourceStarted) == "SAEGmenumap" then local xml = xmlLoadFile(":SAEGmenumap/spawns.xml") if xml then local cityNodes = xmlNodeGetChildren(xml) cities = {} for i,node in ipairs(cityNodes) do cityname = xmlNodeGetAttribute(node, "name") local classnodes = xmlNodeGetChildren(node) cities[cityname] = {} for i2,node2 in ipairs(classnodes) do classname = xmlNodeGetAttribute(node2, "name") local spawnnodes = xmlNodeGetChildren(node2) cities[cityname][classname] = {} for i3, node3 in ipairs(spawnnodes) do skinName = xmlNodeGetAttribute(node3, "name") cities[cityname][classname][skinName] = {} cities[cityname][classname][skinName]["spawnX"] = xmlNodeGetAttribute(node3, "spawnX") cities[cityname][classname][skinName]["spawnY"] = xmlNodeGetAttribute(node3, "spawnY") cities[cityname][classname][skinName]["spawnZ"] = xmlNodeGetAttribute(node3, "spawnZ") cities[cityname][classname][skinName]["rot"] = xmlNodeGetAttribute(node3, "rot") cities[cityname][classname][skinName]["r"] = xmlNodeGetAttribute(node3, "r") cities[cityname][classname][skinName]["g"] = xmlNodeGetAttribute(node3, "g") cities[cityname][classname][skinName]["b"] = xmlNodeGetAttribute(node3, "b") local skinNode = xmlNodeGetAttribute(node3, "skins") cities[cityname][classname][skinName]["skins"] = split(skinNode, ",") cities[cityname][classname][skinName]["dimension"] = xmlNodeGetAttribute(node3, "dimension") cities[cityname][classname][skinName]["interior"] = xmlNodeGetAttribute(node3, "interior") cities[cityname][classname][skinName]["permission"] = xmlNodeGetAttribute(node3, "lock") cities[cityname][classname][skinName]["information"] = xmlNodeGetAttribute(node3, "information") cities[cityname][classname][skinName]["weapons"] = xmlNodeGetAttribute(node3, "weapons") end end end xmlUnloadFile(xml) if spawnPending then spawnPending = false drawSpawnScreen(spawnPending) end else outputDebugString("Weird, you got an error.") end end end addEventHandler("onClientResourceStart", root, initializeEverything) function drawSpawnScreen(houses) if cities then labels = {} --local screenW, screenH = guiGetScreenSize() spawnWindow = guiCreateWindow(0.0000,0.3111,0.4000,0.6862,"Spawn Information & SAEG:RPG",true) guiSetProperty(spawnWindow, "CaptionColour", "FFC0152D") guiSetFont(spawnWindow, "default-bold-small") guiWindowSetMovable(spawnWindow, false) guiWindowSetSizable(spawnWindow, false) infoMemo = guiCreateMemo(0.0563,0.0455,0.8723,0.2239,"",true,spawnWindow) guiMemoSetReadOnly(infoMemo, true) guiSetFont(infoMemo,"default-bold-small") cityGridList = guiCreateGridList(0.0195,0.3871,0.4372,0.4383,true,spawnWindow) guiGridListSetSelectionMode(cityGridList,2) guiGridListAddColumn(cityGridList, "City", 0.82) guiSetFont(cityGridList,"default-bold-small") claUGridList = guiCreateGridList(0.4827,0.2922,0.4935,0.2979,true,spawnWindow) guiGridListSetSelectionMode(claUGridList,2) guiGridListAddColumn(claUGridList, "Class", 0.82) guiSetFont(claUGridList,"default-bold-small") spawnGridList = guiCreateGridList(0.4877,0.6015,0.4935,0.2979,true,spawnWindow) guiGridListSetSelectionMode(spawnGridList,2) guiGridListAddColumn(spawnGridList, "Spawn", 0.82) guiSetFont(spawnGridList,"default-bold-small") locationGridList = guiCreateGridList(0.4000,0.7777,0.1625,0.2161,true) guiGridListSetSelectionMode(locationGridList,2) guiGridListAddColumn(locationGridList, "Proprites", 0.82) guiSetAlpha(locationGridList,0.60000002384186) guiSetFont(locationGridList,"default-bold-small") local noneRow = guiGridListAddRow(locationGridList) guiGridListSetItemText(locationGridList, noneRow, 1, "Default Spawn", false, false) guiGridListSetItemData(locationGridList, noneRow, 1, false) guiGridListSetSelectedItem(locationGridList, noneRow, 1) labels[6] = guiCreateLabel(0.0541,0.8349,0.3593,0.0247,"Select alternative model :",true,spawnWindow) guiLabelSetVerticalAlign(labels[6],"center") skinPrevButton = guiCreateButton(0.0844,0.8937,0.0866,0.055,"<<-",true,spawnWindow) skinNextButton = guiCreateButton(0.2532,0.8937,0.0866,0.055,"->>",true,spawnWindow) guiSetFont(labels[6],"default-bold-small") guiSetProperty(skinPrevButton, "Disabled", "True") guiSetProperty(skinNextButton, "Disabled", "True") skinNumberLabel = guiCreateLabel(0.1861,0.9013,0.0541,0.0398,"N/A",true,spawnWindow) guiLabelSetVerticalAlign(skinNumberLabel,"center") guiLabelSetHorizontalAlign(skinNumberLabel,"center",false) spawnScreenOKButton = guiCreateButton(0.5758,0.9108,0.2965,0.0664,"Spawn",true,spawnWindow) guiSetFont(spawnScreenOKButton,"default-bold-small") guiSetProperty(spawnScreenOKButton, "Disabled", "True") pic = guiCreateStaticImage(0.05,0.288,0.32,0.1, "logo.png", true, spawnWindow) guiSetProperty(pic, "Disabled", "True") function enterButtons() if (getElementType(source) == "gui-button") then playSound("hover.wav", false) end end addEventHandler("onClientMouseEnter", guiRoot, enterButtons) for n, v in pairs(cities) do local row = guiGridListAddRow(cityGridList) guiGridListSetItemText(cityGridList, row, 1, n, false, false) end if houses then for n, v in ipairs(houses) do local row = guiGridListAddRow(locationGridList) guiGridListSetItemText(locationGridList, row, 1, v[1], false, false) guiGridListSetItemData(locationGridList, row, 1, {v[2], v[3], v[4]}) end end addEventHandler("onClientGUIClick", cityGridList, onCityClick) addEventHandler("onClientGUIClick", claUGridList, onClassClick) addEventHandler("onClientGUIClick", spawnGridList, onSkinClick) addEventHandler("onClientGUIClick", spawnScreenOKButton, onSpawnButtonClick) addEventHandler("onClientGUIClick", skinPrevButton, onPrevSkin) addEventHandler("onClientGUIClick", skinNextButton, onNextSkin) fadeCamera(true) guiSetVisible(spawnWindow, true) guiGridListSetSelectedItem(spawnGridList, -1, 0) showCursor(true,true) else spawnPending = houses end end function onCityClick(button) if source == cityGridList and button == "left" then if guiGridListGetSelectedCount(cityGridList) > 0 then guiGridListClear(claUGridList) local selectedRow, selectedCol = guiGridListGetSelectedItem( cityGridList ); -- get double clicked item in the gridlist local cityName = guiGridListGetItemText( cityGridList, selectedRow, selectedCol ) -- get its text local cityClasses = cities[cityName] for x, y in pairs(cityClasses) do local row = guiGridListAddRow(claUGridList) guiGridListSetItemText(claUGridList, row, 1, x, false, false) end guiSetProperty(spawnScreenOKButton, "Disabled", "True") guiSetProperty(skinPrevButton, "Disabled", "True") guiSetProperty(skinNextButton, "Disabled", "True") guiSetText(skinNumberLabel, 1) end end end function onClassClick(button) if source == claUGridList and button == "left" then if guiGridListGetSelectedCount(cityGridList) > 0 and guiGridListGetSelectedCount(claUGridList) > 0 then guiGridListClear(spawnGridList) local selectedRow, selectedCol = guiGridListGetSelectedItem( cityGridList ); -- get double clicked item in the gridlist local cityName = guiGridListGetItemText( cityGridList, selectedRow, selectedCol ) -- get its text local selectedRow, selectedCol = guiGridListGetSelectedItem( claUGridList ); -- get double clicked item in the gridlist local className = guiGridListGetItemText( claUGridList, selectedRow, selectedCol ) -- get its text local classSkins = cities[cityName][className] for x, y in pairs(classSkins) do local row = guiGridListAddRow(spawnGridList) guiGridListSetItemText(spawnGridList, row, 1, x, false, false) end guiSetProperty(spawnScreenOKButton, "Disabled", "True") guiSetProperty(skinPrevButton, "Disabled", "True") guiSetProperty(skinNextButton, "Disabled", "True") guiSetText(skinNumberLabel, 1) end end end function onSkinClick(button) if source == spawnGridList and button == "left" then if guiGridListGetSelectedCount(cityGridList) > 0 and guiGridListGetSelectedCount(claUGridList) > 0 and guiGridListGetSelectedCount( spawnGridList ) > 0 then local selectedRow, selectedCol = guiGridListGetSelectedItem( cityGridList ); -- get double clicked item in the gridlist local cityName = guiGridListGetItemText( cityGridList, selectedRow, selectedCol ) -- get its text local selectedRow, selectedCol = guiGridListGetSelectedItem( claUGridList ); -- get double clicked item in the gridlist local className = guiGridListGetItemText( claUGridList, selectedRow, selectedCol ) -- get its text local selectedRow, selectedCol = guiGridListGetSelectedItem( spawnGridList ); -- get double clicked item in the gridlist local skinName = guiGridListGetItemText( spawnGridList, selectedRow, selectedCol ) -- get its text guiSetProperty(spawnScreenOKButton, "Disabled", "False") guiSetProperty(skinPrevButton, "Disabled", "False") guiSetProperty(skinNextButton, "Disabled", "False") guiSetText(infoMemo, cities[cityName][className][skinName]["information"]) guiSetText(skinNumberLabel, 1) renderSkin() end end end function onSpawnButtonClick(button) if source == spawnScreenOKButton and button == "left" then if guiGridListGetSelectedCount( cityGridList ) > 0 and guiGridListGetSelectedCount( claUGridList ) > 0 and guiGridListGetSelectedCount( spawnGridList ) > 0 then
  6. Hello guys I have an RPG server, so i added a hospital respawn to it, but there is a problem, when u die, the menu of RESPAWN or SPAWN AT HOSPITAL (1000) Show us, but it is bugged, i can't click on it, so can anyone help me ? if u can PM me please
  7. Gastonito

    How ?

    Hello Guys please can anyone tell me how can i delete or add groups in the sqlb ?
  8. Hello Guys, i'm looking for a pro and good scripter who can create scripts and help me with my server, not one that steal scripts from other servers. So i opened my new server, and actually i need many new scripts and also many scripts to be fixed, i can't pay him actually because i don't have money, i just have some CS GO skins, please i need someone to help guys please, if someone ready to do it, contact me on skype : gaston0207 and ty
×
×
  • Create New...