Jump to content

||BuLLeT||

Members
  • Posts

    112
  • Joined

  • Last visited

Everything posted by ||BuLLeT||

  1. ||BuLLeT||

    Scripteri

    jesam, napisao sam u inbox
  2. ||BuLLeT||

    Scripteri

    imam ti RPG, race i DayZ
  3. ||BuLLeT||

    Scripteri

    ja znam kurac, imam frenda koji mi daje sve skripte
  4. *GLASUJTE + IP* Znaci u proslom postu sam zaboravio napisat IP: 5.9.206.179:22003 ^^ a sad glasujte za novi "speedometer" dal ocete zadrzat onaj stari il da stavim novi, u novom mozete vidjet sve odjednom, znaci koliko se auto ostetio, koja je brzina i kolko je nitra preostalo+ moze biti 2D mod: http://s27.postimg.org/vz0437js3/speedo.png http://s27.postimg.org/q1w8me2n7/speedo1.png http://s27.postimg.org/dd1y2pwir/speedo2.png http://s27.postimg.org/var9k9l2b/speedo2_D.png
  5. da, mozda ako si bio na serveru jos nisu sve mape i skripti bili gore, sad je sve spremno
  6. Eeee ljudi, dugo se nismo culi Evo na stvari je to da sam poceo novi DM/DD server pa se malo reklamiram Jos nemamo host nego je server portan, PM me za IP. E i da trebao bih nekoliko iskusnih i aktivnih vozača kad kupimo host, pa ako vas ima dodajte me na skype drevenvan Neki screenshoti:
  7. Evo ljudi napravio sam novi server s novim userpanelom, jer kao sto Travax kaze ovaj userpanel stari je posvuda... Mozete naci topic u mojem signaturu
  8. Znam za WSS:RPG i SAES:RPG, tako nesto su scripti, a i imam čak i Race i DayZ resurse
  9. Ja imam dobre resurse i sve aliii nemam host...
  10. Well, haters gonna hate, i am playing on this server for already a year, and NO i'm not admin, its awesome server with awesome groups, scripts, players, staff and mods. Just come and see
  11. paa dobro je rekord igraca 7-8
  12. Ejj ljudi. upravo cu kupit host za DM/DD/FUN race servere pa mi sugestajte ime servera
  13. Heya guys, i need help about script blip maker, all working fine but i want that blips i create, wont be showed on radar, only on map(F11) markers.map <map> <blip posX="811.982" posY="-1616.02" posZ="12.618" icon="10" /> <blip posX="1199.13" posY="-918.071" posZ="42.3243" icon="10" /> <blip posX="-1912.27" posY="828.025" posZ="34.5615" icon="10" /> <blip posX="-2336.95" posY="-166.646" posZ="34.3573" icon="10" /> <blip posX="-2356.48" posY="1008.01" posZ="49.9036" icon="10" /> <blip posX="2366.74" posY="2071.02" posZ="9.8218" icon="10" /> <blip posX="2472.68" posY="2033.88" posZ="9.822" icon="10" /> <blip posX="2169.86" posY="2795.79" posZ="9.89528" icon="10" /> <blip posX="1872.24" posY="2072.07" posZ="9.82222" icon="10" /> <blip posX="1158.43" posY="2072.02" posZ="9.82222" icon="10" /> <blip posX="172.727" posY="1176.68" posZ="13.773" icon="14" /> <blip posX="-1213.71" posY="1830.46" posZ="40.9335" icon="14" /> <blip posX="-2155.03" posY="-2460.28" posZ="29.8484" icon="14" /> <blip posX="2419.95" posY="-1509.8" posZ="23.1568" icon="14" /> <blip posX="2397.83" posY="-1898.65" posZ="12.7131" icon="14" /> <blip posX="928.525" posY="-1352.77" posZ="12.4344" icon="14" /> <blip posX="-1815.84" posY="618.678" posZ="34.2989" icon="14" /> <blip posX="-2671.53" posY="258.344" posZ="3.64932" icon="14" /> <blip posX="2638.58" posY="1671.18" posZ="10.0231" icon="14" /> <blip posX="2393.18" posY="2041.66" posZ="9.8472" icon="14" /> <blip posX="2838.43" posY="2407.26" posZ="10.061" icon="14" /> <blip posX="2102.69" posY="2228.76" posZ="10.0579" icon="14" /> <blip posX="1367.27" posY="248.388" posZ="18.6229" icon="29" /> <blip posX="2333.43" posY="75.0488" posZ="25.7342" icon="29" /> <blip posX="203.334" posY="-202.532" posZ="0.600709" icon="29" /> <blip posX="2105.32" posY="-1806.49" posZ="12.6941" icon="29" /> <blip posX="-1808.69" posY="945.863" posZ="23.8648" icon="29" /> <blip posX="-1721.13" posY="1359.01" posZ="6.19634" icon="29" /> <blip posX="2638.58" posY="1849.97" posZ="10.0231" icon="29" /> <blip posX="2756.01" posY="2477.05" posZ="10.061" icon="29" /> <blip posX="2351.89" posY="2532.19" posZ="9.82217" icon="29" /> <blip posX="2083.49" posY="2224.2" posZ="10.0579" icon="29" /> <blip posX="1368.35" posY="-1279.06" posZ="12.55" icon="6" /> <blip posX="-2625.85" posY="208.345" posZ="3.98935" icon="6" /> <blip posX="242.668" posY="-178.478" posZ="0.621441" icon="6" /> <blip posX="2333.43" posY="61.5173" posZ="25.7342" icon="6" /> <blip posX="2159.51" posY="943.329" posZ="9.82339" icon="6" /> <blip posX="2539.04" posY="2083.56" posZ="9.82222" icon="6" /> <blip posX="777.231" posY="1871.47" posZ="3.97687" icon="6" /> <blip posX="-315.676" posY="829.868" posZ="13.4266" icon="6" /> <blip posX="-2093.51" posY="-2464.79" posZ="29.6404" icon="6" /> <blip posX="2400.5" posY="-1981.48" posZ="12.5604" icon="6" /> <blip posX="-1508.89" posY="2610.8" posZ="54.8902" icon="6" /> <blip posX="491.103" posY="-1747.55" posZ="9.45516" icon="63" /> <blip posX="1021.81" posY="-1018.71" posZ="30.9081" icon="63" /> <blip posX="2056.6" posY="-1835.9" posZ="12.5443" icon="63" /> <blip posX="-1424.11" posY="2576.61" posZ="54.8156" icon="63" /> <blip posX="-103.636" posY="1112.42" posZ="18.7017" icon="63" /> <blip posX="715.806" posY="-462.403" posZ="14.9635" icon="63" /> <blip posX="-2430.13" posY="1013.71" posZ="49.3413" icon="63" /> <blip posX="-1908.93" posY="292.353" posZ="40.0413" icon="63" /> <blip posX="1968.23" posY="2157.88" posZ="9.59696" icon="63" /> <blip posX="7245.0009765625" posY="-288.7763671875" posZ="2.2143154144287" icon="63" /> </map>
  14. it think you mean on /me command
  15. all can use it but its not saving teams
  16. it saves all except team... and i want it save completley all
  17. unexpected symbol near '<' WARNING: loading script failed: .... unexpected symbol near '<'
  18. function playerLogin (thePreviousAccount, theCurrentAccount, autoLogin) if not (isGuestAccount (getPlayerAccount (source))) then local accountData = getAccountData (theCurrentAccount, "funmodev2-money") if (accountData) then local playerMoney = getAccountData (theCurrentAccount, "funmodev2-money") local playerSkin = getAccountData (theCurrentAccount, "funmodev2-skin") local playerHealth = getAccountData (theCurrentAccount, "funmodev2-health") local playerArmor = getAccountData (theCurrentAccount, "funmodev2-armor") local playerClass = getAccountData (theCurrentAccount, "class") setElementData(source, "Class", playerClass) local playerX = getAccountData (theCurrentAccount, "funmodev2-x") local playerY = getAccountData (theCurrentAccount, "funmodev2-y") local playerZ = getAccountData (theCurrentAccount, "funmodev2-z") local playerInt = getAccountData (theCurrentAccount, "funmodev2-int") local playerDim = getAccountData (theCurrentAccount, "funmodev2-dim") local playerWanted = getAccountData (theCurrentAccount, "funmodev2-wantedlevel") local playerTeam = getAccountData (theCurrentAccount, "funmodev2-Team") local playerWeaponID0 = getAccountData (theCurrentAccount, "funmodev2-weaponID0") local playerWeaponID1 = getAccountData (theCurrentAccount, "funmodev2-weaponID1") local playerWeaponID2 = getAccountData (theCurrentAccount, "funmodev2-weaponID2") local playerWeaponID3 = getAccountData (theCurrentAccount, "funmodev2-weaponID3") local playerWeaponID4 = getAccountData (theCurrentAccount, "funmodev2-weaponID4") local playerWeaponID5 = getAccountData (theCurrentAccount, "funmodev2-weaponID5") local playerWeaponID6 = getAccountData (theCurrentAccount, "funmodev2-weaponID6") local playerWeaponID7 = getAccountData (theCurrentAccount, "funmodev2-weaponID7") local playerWeaponID8 = getAccountData (theCurrentAccount, "funmodev2-weaponID8") local playerWeaponID9 = getAccountData (theCurrentAccount, "funmodev2-weaponID9") local playerWeaponID10 = getAccountData (theCurrentAccount, "funmodev2-weaponID10") local playerWeaponID11 = getAccountData (theCurrentAccount, "funmodev2-weaponID11") local playerWeaponID12 = getAccountData (theCurrentAccount, "funmodev2-weaponID12") local playerWeaponAmmo0 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo0") local playerWeaponAmmo1 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo1") local playerWeaponAmmo2 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo2") local playerWeaponAmmo3 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo3") local playerWeaponAmmo4 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo4") local playerWeaponAmmo5 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo5") local playerWeaponAmmo6 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo6") local playerWeaponAmmo7 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo7") local playerWeaponAmmo8 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo8") local playerWeaponAmmo9 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo9") local playerWeaponAmmo10 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo10") local playerWeaponAmmo11 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo11") local playerWeaponAmmo12 = getAccountData (theCurrentAccount, "funmodev2-weaponAmmo12") spawnPlayer (source, playerX, playerY, playerZ +1, 0, playerSkin, playerInt, playerDim) setPlayerMoney (source, playerMoney) setTimer (setElementHealth, 50, 1, source, playerHealth) setTimer (setPedArmor, 50, 1, source, playerArmor) setTimer (setPlayerWantedLevel, 50, 1, source, playerWanted) giveWeapon(source, playerWeaponID0, playerWeaponAmmo0, true) giveWeapon(source, playerWeaponID1, playerWeaponAmmo1, false) giveWeapon(source, playerWeaponID2, playerWeaponAmmo2, false) giveWeapon(source, playerWeaponID3, playerWeaponAmmo3, false) giveWeapon(source, playerWeaponID4, playerWeaponAmmo4, false) giveWeapon(source, playerWeaponID5, playerWeaponAmmo5, false) giveWeapon(source, playerWeaponID6, playerWeaponAmmo6, false) giveWeapon(source, playerWeaponID7, playerWeaponAmmo7, false) giveWeapon(source, playerWeaponID8, playerWeaponAmmo8, false) giveWeapon(source, playerWeaponID9, playerWeaponAmmo9, false) giveWeapon(source, playerWeaponID10, playerWeaponAmmo10, false) giveWeapon(source, playerWeaponID11, playerWeaponAmmo11, false) giveWeapon(source, playerWeaponID12, playerWeaponAmmo12, false) setCameraTarget (source, source) fadeCamera(source, true, 2.0) else spawnPlayer (source, 1481.0855712891, -1771.2996826172, 18.795753479004, 0,78, 0, 0) setPlayerMoney (source, 200) setCameraTarget (source, source) fadeCamera(source, true, 2.0) end end end addEventHandler ("onPlayerLogin", getRootElement(), playerLogin) function onLogout () kickPlayer (source, nil, "Logging out is disallowed.") end addEventHandler ("onPlayerLogout", getRootElement(), onLogout) function onQuit (quitType, reason, responsibleElement) if not (isGuestAccount (getPlayerAccount (source))) then account = getPlayerAccount (source) if (account) then local x,y,z = getElementPosition (source) setAccountData (account, "funmodev2-money", tostring (getPlayerMoney (source))) setAccountData (account, "funmodev2-skin", tostring (getPedSkin (source))) setAccountData (account, "funmodev2-health", tostring (getElementHealth (source))) setAccountData (account, "funmodev2-armor", tostring (getPedArmor (source))) setAccountData (account, "class", tostring (getElementData (source, "Class"))) setAccountData (account, "funmodev2-R", r) setAccountData (account, "funmodev2-G", g) setAccountData (account, "funmodev2-B", b) setAccountData (account, "funmodev2-x", x) setAccountData (account, "funmodev2-y", y) setAccountData (account, "funmodev2-z", z) setAccountData (account, "funmodev2-int", getElementInterior (source)) setAccountData (account, "funmodev2-dim", getElementDimension (source)) setAccountData (account, "funmodev2-wantedlevel", getPlayerWantedLevel (source)) setAccountData (account, "funmodev2-weaponID0", getPedWeapon (source, 0)) setAccountData (account, "funmodev2-weaponID1", getPedWeapon (source, 1)) setAccountData (account, "funmodev2-weaponID2", getPedWeapon (source, 2)) setAccountData (account, "funmodev2-weaponID3", getPedWeapon (source, 3)) setAccountData (account, "funmodev2-weaponID4", getPedWeapon (source, 4)) setAccountData (account, "funmodev2-weaponID5", getPedWeapon (source, 5)) setAccountData (account, "funmodev2-weaponID6", getPedWeapon (source, 6)) setAccountData (account, "funmodev2-weaponID7", getPedWeapon (source, 7)) setAccountData (account, "funmodev2-weaponID8", getPedWeapon (source, -- s8) -->) setAccountData (account, "funmodev2-weaponID9", getPedWeapon (source, 9)) setAccountData (account, "funmodev2-weaponID10", getPedWeapon (source, 10)) setAccountData (account, "funmodev2-weaponID11", getPedWeapon (source, 11)) setAccountData (account, "funmodev2-weaponID12", getPedWeapon (source, 12)) setAccountData (account, "funmodev2-weaponAmmo0", getPedTotalAmmo (source, 0)) setAccountData (account, "funmodev2-weaponAmmo1", getPedTotalAmmo (source, 1)) setAccountData (account, "funmodev2-weaponAmmo2", getPedTotalAmmo (source, 2)) setAccountData (account, "funmodev2-weaponAmmo3", getPedTotalAmmo (source, 3)) setAccountData (account, "funmodev2-weaponAmmo4", getPedTotalAmmo (source, 4)) setAccountData (account, "funmodev2-weaponAmmo5", getPedTotalAmmo (source, 5)) setAccountData (account, "funmodev2-weaponAmmo6", getPedTotalAmmo (source, 6)) setAccountData (account, "funmodev2-weaponAmmo7", getPedTotalAmmo (source, 7)) setAccountData (account, "funmodev2-weaponAmmo8", getPedTotalAmmo (source, -- s8) -->) setAccountData (account, "funmodev2-weaponAmmo9", getPedTotalAmmo (source, 9)) setAccountData (account, "funmodev2-weaponAmmo10", getPedTotalAmmo (source, 10)) setAccountData (account, "funmodev2-weaponAmmo11", getPedTotalAmmo (source, 11)) setAccountData (account, "funmodev2-weaponAmmo12", getPedTotalAmmo (source, 12)) end end end addEventHandler ("onPlayerQuit", getRootElement(), onQuit) function onWasted(totalAmmo, killer, killerWeapon, bodypart, stealth) if not( isGuestAccount (getPlayerAccount(source)) ) then local theWeapon = getPedWeapon (source) local weaponAmmo = getPedTotalAmmo (source) fadeCamera (source, false) setTimer (spawnPlayer, 1000, 1, source, 2036.1735839844, -1413.0563964844, 16.9921875, 0, getPedSkin (source), 0, 0, getPlayerTeam(source)) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) end end addEventHandler ("onPlayerWasted", getRootElement(), onWasted) --- function setTeam() local account = getPlayerAccount(source) -- gets players account local team = getAccountData (account, "team") -- gets players team if (team) and getTeamFromName(team) then setPlayerTeam(source, getTeamFromName(team)) -- sets players team end end addEventHandler("onPlayerLogin",root,setTeam) -- sets players team on login function save() local team = getPlayerTeam(source) -- Gets the players team local account = getPlayerAccount(source) if (team) and not isGuestAccount(account) then -- Checks to see if the player is a guest or not setAccountData(account, "team", getTeamName(team)) --saves team end end addEventHandler("onPlayerQuit", getRootElement(), save) -- saves team on quit
  19. Hey guys i have got roadblock system,you see all is fine, all working but, i have only command /rblocks or /remblocks to remove all roadblocks you have created, i want it have /rblocks for remove all roadblocks and /rblock for only last one you created.... client.lua ------------------------------------------------------------------------------------ -- v1.0 -- Roadblocks for law -- Charlie ------------------------------------------------------------------------------------ local tRBNames = false triggerServerEvent("roadblock.getTable", localPlayer) rbsWindow = guiCreateWindow(0.3391,0.2832,0.3125,0.4688,"Roadblock System",true) guiWindowSetSizable(rbsWindow,false) acceptButton = guiCreateButton(0.1075,0.8813,0.3225,0.0854,"Accept",true,rbsWindow) closeButton = guiCreateButton(0.57,0.8813,0.3225,0.0854,"Close",true,rbsWindow) rbsMenu = guiCreateGridList(0.11,0.1292,0.785,0.725,true,rbsWindow) guiGridListSetSelectionMode(rbsMenu,2) guiGridListAddColumn(rbsMenu,"Roadblocks",0.90) guiSetVisible(rbsWindow, false) function cGUI() if (getPedOccupiedVehicle(localPlayer)) then return false end if (getTeamName(getPlayerTeam(localPlayer)) ~= "Military Unit" and getTeamName(getPlayerTeam(localPlayer)) ~= "San Andreas Workers" and getTeamName(getPlayerTeam(localPlayer)) ~= "San Andreas Sports Council" and getTeamName(getPlayerTeam(localPlayer)) ~= "Staff" ) then return false end guiSetVisible(rbsWindow, true) showCursor(true) end addCommandHandler ("barrier", cGUI) function closeWindow() guiSetVisible(rbsWindow, false) showCursor(false) end addEventHandler("onClientGUIClick", closeButton, closeWindow, false) function makeBlock() local chk = guiGridListGetItemText(rbsMenu, guiGridListGetSelectedItem(rbsMenu), 1) if (chk) then triggerServerEvent("roadblock.makeObj", localPlayer, chk) closeWindow() return true end end addEventHandler("onClientGUIClick", acceptButton, makeBlock, false) function recvTable(t) tRBNames = t for _, sObject in pairs(tRBNames) do if (rbsMenu) then local row = guiGridListAddRow(rbsMenu) guiGridListSetItemText(rbsMenu, row, 1, sObject["name"], false, false) end end end addEvent("roadblock.sendTable", true) addEventHandler("roadblock.sendTable", localPlayer, recvTable) server.lua ------------------------------------------------------------------------------------ -- v1.0 -- Roadblocks for law -- Charlie ------------------------------------------------------------------------------------ local tRBNames = { ["roadright"] = {name="Small roadblock", id=978}, ["helix_barrier"] = {name="Large Roadblock", id=981}, ["roadworkbarrier1"] = {name="Warning fence", id=1459}, ["roadbarrier4"] = {name="Barrier", id=1423}, ["roadbarrier3"] = {name="Detour sign", id=1425}, ["roadbarrier6"] = {name="Sidewalk block", id=1424}, ["DockBarr1_LA"] = {name="Yellow fence", id=3578}, ["cn2_roadblock01"] = {name="Bridge roadblock", id=16436}, ["sfse_roadblock5"] = {name="Medium roadblock", id=4526}, ["trafficcone"] = {name="Traffic Cone", id=1238}, ["Barrierm"] = {name="Small warning fence with light", id=1282}, ["DYN_ROADBARRIER_5"] = {name="Ugly small fence", id=1422}, ["imy_track_barrier"] = {name="Vehicles ->", id=3091}, ["cn2_savgardr1_"] = {name="Wall", id=16500}, ["cn2_savgardr2_"] = {name="Wall 2", id=16501}, ["shbbyhswall11_lvs"] = {name="Wall 3", id=8659}, ["Gen_doorINT01"] = {name="Door", id=1491}, ["TwrCrane_M_01"] = {name="Crane", id=1384}, ["TwrCrane_M_04"] = {name="Crane stand", id=1383}, ["demolish1_SFXRF"] = {name="Demolished building", id=3866}, ["demolish4_SFXRF"] = {name="Demolished building two", id=3887}, ["circusconstruct07"] = {name="Construction Fence", id=7017}, ["DYN_MESH_1"] = {name="Electric fence", id=1411}, ["drydock2_SFSe"] = {name="Dry Dock", id=10830}, ["drydock1_SFSe"] = {name="Dock Gate", id=10828}, ["laebuildsit01a"] = {name="Half built glass", id=5644}, ["laebuildsit01"] = {name="Half built", id=5463}, ["des_quarry_hopper01"] = {name="Concrete maker", id=16083}, ["des_quarrybelt07"] = {name="Conveyor", id=16075}, ["laxrf_scrapbox"] = {name="Trash container", id=3722}, ["gnhtelgrnd_lvs"] = {name="Field platform", id=8661}, ["a51_ventsouth"] = {name="Construction platform", id=8661}, ["Esc_step8"] = {name="Catwalk", id=1698}, ["odrampbit"] = {name="Large stairs", id=5816}, ["vrockstairs"] = {name="Vrock stairs", id=7096}, ["imcompstrs02"] = {name="Stairs double", id=5130}, ["cos_sbanksteps02"] = {name="SF bank steps", id=12839}, ["cos_sbanksteps04"] = {name="SF bank steps 2", id=13011}, ["des_quarryplatform"] = {name="Quarry Platform", id=16082}, ["DYN_SCAFFOLD"] = {name="Scaffold 1", id=1426}, ["DYN_SCAFFOLD_2"] = {name="Scaffold 2", id=1436}, ["DYN_SCAFFOLD_4"] = {name="Scaffold 3", id=1465}, ["ws_scaffolding_SFX"] = {name="Big scaffold", id=3867}, } local spawnedObjects = {} function mObj(chk) if (getElementInterior(client) ~= 0) then outputChatBox("You cannot use barriers in interiors", client, 0, 255, 0) return false end local use = false for a,b in pairs(tRBNames) do if (b["name"] == chk) then use = b break end end if (not use) then return false end toggleAllControls(source, true) showCursor(source, false) local nX, nY, nZ = getElementPosition(source) local nX2, nY2 = 0, 0 local nZ2 = getPedRotation(source) local obj = createObject(use["id"], nX, nY, nZ - 0.5, nX2, nY2, nZ2) setElementPosition(client, nX, nY, nZ + 5) if (not spawnedObjects[client]) then spawnedObjects[client] = {} end spawnedObjects[client][obj] = true return true end addEvent("roadblock.makeObj", true) addEventHandler("roadblock.makeObj", root, mObj) function reqT() triggerClientEvent(client, "roadblock.sendTable", client, tRBNames) end addEvent("roadblock.getTable", true) addEventHandler("roadblock.getTable", root, reqT) function remObj(cl) local source = source or cl if (spawnedObjects[source]) then for a,b in pairs(spawnedObjects[source]) do if (isElement(a)) then destroyElement(a) end end end end addEventHandler("onPlayerQuit", root, remObj) addCommandHandler("remblocks", remObj) addCommandHandler("rblocks", remObj)
×
×
  • Create New...