queenshe

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About queenshe

  • Rank
    Square

Recent Profile Visitors

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

  1. http://prntscr.com/mwx0eq http://prntscr.com/mwx0rf how to problem fix? @Ab-47 @Mr.Loki elseif source == can then if getPlayerMoney() >= 5000 then if getElementHealth(localPlayer) ~= 100 then if (limit_health) and (getTickCount()-limit_health < 300000) then outputChatBox("You need to wait 5 minutes before using this again...", 255, 0, 0) return end limit_health = getTickCount() setElementHealth(localPlayer,100) triggerServerEvent("TakeMoney",localPlayer) outputChatBox("#888888 5000$ #FFFFFFkarşılığında canın dolduruldu!",0,255,0,true) else outputChatBox("Canın zaten dolu!",255,0,0,true) end else outputChatBox("Paran yetmiyor!",255,0,0,true) end setTimer(guiSetPosition,50,5,canimg,g-132,2,false) setTimer(guiSetPosition,60,5,canimg,g-128,1,false) elseif source == zirh then if getPlayerMoney() >= 5000 then if getPedArmor(localPlayer) ~= 100 then if (limit_armor) and (getTickCount()-limit_armor < 300000) then outputChatBox("You need to wait 5 minutes before using this again...", 255, 0, 0) return end limit_armor = getTickCount() triggerServerEvent("setPlayerArmor",localPlayer) outputChatBox("#888888 5000$ #FFFFFFkarşılığında çelik yelek giydin!",0,255,0,true) else outputChatBox("Çelik yeleğin zaten sağlam!",255,0,0,true) end else outputChatBox("Paran yetmiyor!",255,0,0,true) end setTimer(guiSetPosition,50,5,zirhimg,g-132,2,false) setTimer(guiSetPosition,60,5,zirhimg,g-128,1,false)
  2. Hi, I can't put a new player on the server. I've deleted [gamemode]> [play]> play> broph.map but it still starts there. Plz help me function onWasted(totalAmmo, killer, killerWeapon, bodypart, stealth) local theWeapon = getPedWeapon (source) local theWeapon1 = getPedWeapon (source, 1) local theWeapon2 = getPedWeapon (source, 2) local theWeapon3 = getPedWeapon (source, 3) local theWeapon4 = getPedWeapon (source, 4) local theWeapon5 = getPedWeapon (source, 5) local theWeapon6 = getPedWeapon (source, 6) local theWeapon7 = getPedWeapon (source, 7) local theWeapon8 = getPedWeapon (source, 8) local theWeapon9 = getPedWeapon (source, 9) local theWeapon10 = getPedWeapon (source, 10) local theWeapon11 = getPedWeapon (source, 11) local theWeapon12 = getPedWeapon (source, 12) local weaponAmmo = getPedTotalAmmo (source) local weaponAmmo1 = getPedTotalAmmo (source, 1) local weaponAmmo2 = getPedTotalAmmo (source, 2) local weaponAmmo3 = getPedTotalAmmo (source, 3) local weaponAmmo4 = getPedTotalAmmo (source, 4) local weaponAmmo5 = getPedTotalAmmo (source, 5) local weaponAmmo6 = getPedTotalAmmo (source, 6) local weaponAmmo7 = getPedTotalAmmo (source, 7) local weaponAmmo8 = getPedTotalAmmo (source, 8) local weaponAmmo9 = getPedTotalAmmo (source, 9) local weaponAmmo10 = getPedTotalAmmo (source, 10) local weaponAmmo11 = getPedTotalAmmo (source, 11) local weaponAmmo12 = getPedTotalAmmo (source, 12) local Skiin = getPedSkin (source) fadeCamera (source, false) setTimer (setElementModel, 2000, 1, source, Skiin, true) setTimer (spawnPlayer, 1000, 1, source, 208.53065490723, -1865.7003173828, 12.215625762939, 354.97918701172, 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) setTimer (giveWeapon, 2000, 1, source, theWeapon1, weaponAmmo1, true) setTimer (giveWeapon, 2000, 1, source, theWeapon2, weaponAmmo2, true) setTimer (giveWeapon, 2000, 1, source, theWeapon3, weaponAmmo3, true) setTimer (giveWeapon, 2000, 1, source, theWeapon4, weaponAmmo4, true) setTimer (giveWeapon, 2000, 1, source, theWeapon5, weaponAmmo5, true) setTimer (giveWeapon, 2000, 1, source, theWeapon6, weaponAmmo6, true) setTimer (giveWeapon, 2000, 1, source, theWeapon7, weaponAmmo7, true) setTimer (giveWeapon, 2000, 1, source, theWeapon8, weaponAmmo8, true) setTimer (giveWeapon, 2000, 1, source, theWeapon9, weaponAmmo9, true) setTimer (giveWeapon, 2000, 1, source, theWeapon10, weaponAmmo10, true) setTimer (giveWeapon, 2000, 1, source, theWeapon11, weaponAmmo11, true) setTimer (giveWeapon, 2000, 1, source, theWeapon12, weaponAmmo12, true) end addEventHandler ("onPlayerWasted", getRootElement(), onWasted) function joinHandler() spawnPlayer(source, 208.53065490723, -1865.7003173828, 12.215625762939) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Script Test [ON]", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler)
  3. lol? i already know it. I wouldn't ask for help here if I could please help...
  4. How to add time limit? elseif source == can then if getPlayerMoney() >= 5000 then if getElementHealth(localPlayer) ~= 100 then setElementHealth(localPlayer,100) triggerServerEvent("TakeMoney",localPlayer) outputChatBox("#888888 5000$ #FFFFFFkarşılığında canın dolduruldu!",0,255,0,true) else outputChatBox("Canın zaten dolu!",255,0,0,true) end else outputChatBox("Paran yetmiyor!",255,0,0,true) end setTimer(guiSetPosition,50,5,canimg,g-132,2,false) setTimer(guiSetPosition,60,5,canimg,g-128,1,false) and elseif source == zirh then if getPlayerMoney() >= 5000 then if getPedArmor(localPlayer) ~= 100 then triggerServerEvent("setPlayerArmor",localPlayer) outputChatBox("#888888 5000$ #FFFFFFkarşılığında çelik yelek giydin!",0,255,0,true) else outputChatBox("Çelik yeleğin zaten sağlam!",255,0,0,true) end else outputChatBox("Paran yetmiyor!",255,0,0,true) end setTimer(guiSetPosition,50,5,zirhimg,g-132,2,false) setTimer(guiSetPosition,60,5,zirhimg,g-128,1,false)
  5. http://prntscr.com/msexkt client.lua local xml = xmlLoadFile ( "settings.xml" ) local nodeColor = xmlFindChild ( xml, "color", 0 ) local nodeFont = xmlFindChild ( xml, "font", 0 ) local nodeRealism = xmlFindChild ( xml, "realism", 0 ) local nodeStations = xmlFindChild ( xml, "stations", 0 ) local label = guiCreateLabel ( 0, 0, 1, 0.1, "Radyo Kapali", true ) guiLabelSetColor ( label, xmlNodeGetAttribute ( nodeColor, "r" ), xmlNodeGetAttribute ( nodeColor, "g" ), xmlNodeGetAttribute ( nodeColor, "b" ) ) guiLabelSetHorizontalAlign ( label, "center" ) guiSetFont ( label, xmlNodeGetValue ( nodeFont ) ) guiSetVisible ( label, false ) addEventHandler ( "onClientResourceStart", getResourceRootElement (), function () showPlayerHudComponent ( "radio", false ) setElementData ( getLocalPlayer (), "liveradio.radio", 0 ) for k, v in ipairs ( getElementsByType ( "vehicle" ) ) do setElementData ( v, "liveradio.radio0", false ) setElementData ( v, "liveradio.radio1", false ) setElementData ( v, "liveradio.radio2", false ) setElementData ( v, "liveradio.radio3", false ) end end ) addEventHandler ( "onClientResourceStop", getResourceRootElement (), function () showPlayerHudComponent ( "radio", true ) end ) addEventHandler ( "onClientPlayerVehicleEnter", getLocalPlayer (), function ( vehicle, seat ) setRadioChannel ( 0 ) setElementData ( getLocalPlayer (), "liveradio.seat", seat ) if sound then if isElement ( sound ) then destroyElement ( sound ) end end if xmlNodeGetAttribute ( nodeRealism, "enabled" ) == "true" then if getElementData ( vehicle, "liveradio.radio0" ) then setElementData ( getLocalPlayer (), "liveradio.radio", getElementData ( vehicle, "liveradio.radio0" ) ) else for k, v in ipairs ( xmlNodeGetChildren ( nodeStations ) ) do setElementData ( getLocalPlayer (), "liveradio.radio", k ) end setElementData ( getLocalPlayer (), "liveradio.radio", math.random ( getElementData ( getLocalPlayer (), "liveradio.radio" ) ) ) setElementData ( vehicle, "liveradio.radio0", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) setElementData ( vehicle, "liveradio.radio1", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) setElementData ( vehicle, "liveradio.radio2", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) setElementData ( vehicle, "liveradio.radio3", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) end else if getElementData ( vehicle, "liveradio.radio" .. seat ) then setElementData ( getLocalPlayer (), "liveradio.radio", getElementData ( vehicle, "liveradio.radio" .. seat ) ) else for k, v in ipairs ( xmlNodeGetChildren ( nodeStations ) ) do setElementData ( getLocalPlayer (), "liveradio.radio", k ) end setElementData ( getLocalPlayer (), "liveradio.radio", math.random ( getElementData ( getLocalPlayer (), "liveradio.radio" ) ) ) setElementData ( vehicle, "liveradio.radio" .. seat, getElementData ( getLocalPlayer (), "liveradio.radio" ) ) end end local nodeStation = xmlFindChild ( nodeStations, "station", getElementData ( vehicle, "liveradio.radio" .. seat ) - 1 ) if nodeStation then local radioName = xmlNodeGetAttribute ( nodeStation, "name" ) local radioURL = xmlNodeGetAttribute ( nodeStation, "URL" ) sound = playSound ( radioURL ) guiSetText ( label, radioName ) guiSetVisible ( label, true ) if isTimer ( timerLabel ) then killTimer ( timerLabel ) end timerLabel = setTimer ( guiSetVisible, 5000, 1, label, false ) else guiSetText ( label, "Radyo Kapali" ) guiSetVisible ( label, true ) setElementData ( getLocalPlayer (), "liveradio.radio", 0 ) if isTimer ( timerLabel ) then killTimer ( timerLabel ) end timerLabel = setTimer ( guiSetVisible, 5000, 1, label, false ) end timerVehicle = setTimer ( function ( vehicle ) if isPedInVehicle ( getLocalPlayer () ) == false or getPedOccupiedVehicle ( getLocalPlayer () ) ~= vehicle or getElementHealth ( getLocalPlayer () ) <= 0 then if sound then if isElement ( sound ) then destroyElement ( sound ) end end killTimer ( timerVehicle ) guiSetVisible ( label, false ) setElementData ( getLocalPlayer (), "liveradio.radio", 0 ) end end , 50, 0, vehicle ) end ) addEventHandler ( "onClientPlayerRadioSwitch", getLocalPlayer (), function ( station ) if station ~= 0 then cancelEvent () end if xmlNodeGetAttribute ( nodeRealism, "enabled" ) ~= "true" or getElementData ( getLocalPlayer (), "liveradio.seat" ) == 0 or getPedOccupiedVehicle ( getLocalPlayer () ) == false then if station == 1 then setElementData ( getLocalPlayer (), "liveradio.radio", getElementData ( getLocalPlayer (), "liveradio.radio" ) + 1 ) elseif station == 12 then setElementData ( getLocalPlayer (), "liveradio.radio", getElementData ( getLocalPlayer (), "liveradio.radio" ) - 1 ) if getElementData ( getLocalPlayer (), "liveradio.radio" ) == -1 then for k, v in ipairs ( xmlNodeGetChildren ( nodeStations ) ) do setElementData ( getLocalPlayer (), "liveradio.radio", k ) end end end if sound then if isElement ( sound ) then destroyElement ( sound ) end end if getPedOccupiedVehicle ( getLocalPlayer () ) then setElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio" .. getElementData ( getLocalPlayer (), "liveradio.seat" ), getElementData ( getLocalPlayer (), "liveradio.radio" ) ) end local nodeStation = xmlFindChild ( nodeStations, "station", getElementData ( getLocalPlayer (), "liveradio.radio" ) - 1 ) if nodeStation then local radioName = xmlNodeGetAttribute ( nodeStation, "name" ) local radioURL = xmlNodeGetAttribute ( nodeStation, "URL" ) sound = playSound ( radioURL ) guiSetText ( label, radioName ) guiSetVisible ( label, true ) if isTimer ( timerLabel ) then killTimer ( timerLabel ) end timerLabel = setTimer ( guiSetVisible, 5000, 1, label, false ) else guiSetText ( label, "Radyo Kapali" ) guiSetVisible ( label, true ) setElementData ( getLocalPlayer (), "liveradio.radio", 0 ) if isTimer ( timerLabel ) then killTimer ( timerLabel ) end timerLabel = setTimer ( guiSetVisible, 5000, 1, label, false ) end if xmlNodeGetAttribute ( nodeRealism, "enabled" ) == "true" and getPedOccupiedVehicle ( getLocalPlayer () ) then setElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio0", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) setElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio1", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) setElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio2", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) setElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio3", getElementData ( getLocalPlayer (), "liveradio.radio" ) ) triggerServerEvent ( "onPlayerRadioSwitch", getLocalPlayer (), getPedOccupiedVehicle ( getLocalPlayer () ) ) end end end ) addEventHandler ( "onClientVehicleStartExit", getRootElement (), function ( player ) if player == getLocalPlayer () then if sound then if isElement ( sound ) then destroyElement ( sound ) end end if isTimer ( timerVehicle ) then killTimer ( timerVehicle ) end guiSetVisible ( label, false ) setElementData ( player, "liveradio.radio", 0 ) end end ) addEvent ( "switchRadioChannel", true ) addEventHandler ( "switchRadioChannel", getLocalPlayer (), function () if sound then if isElement ( sound ) then destroyElement ( sound ) end end local nodeStation = xmlFindChild ( nodeStations, "station", getElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio0" ) - 1 ) if nodeStation then local radioName = xmlNodeGetAttribute ( nodeStation, "name" ) local radioURL = xmlNodeGetAttribute ( nodeStation, "URL" ) sound = playSound ( radioURL ) guiSetText ( label, radioName ) guiSetVisible ( label, true ) setElementData ( getLocalPlayer (), "liveradio.radio", getElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio0" ) ) if isTimer ( timerLabel ) then killTimer ( timerLabel ) end timerLabel = setTimer ( guiSetVisible, 5000, 1, label, false ) else guiSetText ( label, "Radyo Kapali" ) guiSetVisible ( label, true ) setElementData ( getLocalPlayer (), "liveradio.radio", 0 ) if isTimer ( timerLabel ) then killTimer ( timerLabel ) end timerLabel = setTimer ( guiSetVisible, 5000, 1, label, false ) end end )
  6. If I could do it from the Wiki site, I wouldn't be talking about it here. If you can, can you send it to me? @Alfredo
  7. How do I do that, help me out?
  8. Hello, as i told you at the topic; My neon system is working but i cant see it also the other players can see. client.lua local availableNeons = { ["white"] = 5764, ["blue"] = 5681, ["green"] = 18448, ["red"] = 18215, ["yellow"] = 18214, ["pink"] = 18213, ["orange"] = 14399, ["lightblue"] = 14400, ["rasta"] = 14401, ["ice"] = 14402 } local vehicleNeon = {} local neonCommandTimer addEvent("tuning->Neon", true) addEventHandler("onClientResourceStart", resourceRoot, function() for neonName, replaceModel in pairs(availableNeons) do local neonCOL = engineLoadCOL("files/neons/neonCollision.col") local neonDFF = engineLoadDFF("files/neons/" .. neonName .. ".dff") engineReplaceModel(neonDFF, replaceModel) engineReplaceCOL(neonCOL, replaceModel) end for _, vehicle in ipairs(getElementsByType("vehicle", root, true)) do if getElementData(vehicle, "tuning.neon") then if getElementData(vehicle, "vehicle.neon.active") then addNeon(vehicle, getElementData(vehicle, "tuning.neon"), true) end end end end) addCommandHandler("neon", function() if isTimer(neonCommandTimer) then return end neonCommandTimer = setTimer(function() end, 2000, 1) local vehicle = getPedOccupiedVehicle(localPlayer) if vehicle then if getVehicleOccupant(vehicle, 0) == localPlayer then local neonColor = getElementData(vehicle, "tuning.neon") or false if neonColor then local neonActive = getElementData(vehicle, "vehicle.neon.active") or false if not neonActive then triggerServerEvent("tuning->Neon", localPlayer, vehicle, neonColor) setElementData(vehicle, "vehicle.neon.active", true) else triggerServerEvent("tuning->Neon", localPlayer, vehicle, false) setElementData(vehicle, "vehicle.neon.active", false) end end end end end) addEventHandler("tuning->Neon", root, function(vehicle, neon) if isElementStreamedIn(vehicle) then if neon then addNeon(vehicle, neon, true) else if vehicleNeon[vehicle] then if vehicleNeon[vehicle]["object.1"] and vehicleNeon[vehicle]["object.2"] then destroyElement(vehicleNeon[vehicle]["object.1"]) destroyElement(vehicleNeon[vehicle]["object.2"]) vehicleNeon[vehicle] = nil end end end end end) addEventHandler("onClientElementStreamIn", root, function() if getElementType(source) == "vehicle" then if getElementData(source, "vehicle.neon.active") then local neonColor = getElementData(source, "tuning.neon") or false if neonColor then addNeon(source, neonColor, true) end end end end) addEventHandler("onClientElementStreamOut", root, function() if getElementType(source) == "vehicle" then if vehicleNeon[source] then if isElement(vehicleNeon[source]["object.1"]) then destroyElement(vehicleNeon[source]["object.1"]) end if isElement(vehicleNeon[source]["object.2"]) then destroyElement(vehicleNeon[source]["object.2"]) end vehicleNeon[source] = nil end end end) addEventHandler("onClientElementDestroy", root, function() if getElementType(source) == "vehicle" then if vehicleNeon[source] then if isElement(vehicleNeon[source]["object.1"]) then destroyElement(vehicleNeon[source]["object.1"]) end if isElement(vehicleNeon[source]["object.2"]) then destroyElement(vehicleNeon[source]["object.2"]) end vehicleNeon[source] = nil end end end) addEventHandler("onClientRender", root, function() for vehicle, neon in pairs(vehicleNeon) do if neon["object.1"] and neon["object.2"] then attachElements(neon["object.1"], vehicle, 0.8, 0, neon["object.zOffset"]) attachElements(neon["object.2"], vehicle, -0.8, 0, neon["object.zOffset"]) end end end) function addNeon(vehicle, neon, setDefault) if not vehicleNeon[vehicle] then vehicleNeon[vehicle] = {} end if setDefault then vehicleNeon[vehicle]["oldNeonID"] = availableNeons[neon] end vehicleNeon[vehicle]["neon"] = neon if vehicleNeon[vehicle]["object.1"] or vehicleNeon[vehicle]["object.2"] then if availableNeons[neon] then setElementModel(vehicleNeon[vehicle]["object.1"], availableNeons[neon]) setElementModel(vehicleNeon[vehicle]["object.2"], availableNeons[neon]) else destroyElement(vehicleNeon[vehicle]["object.1"]) destroyElement(vehicleNeon[vehicle]["object.2"]) end else local vehicleX, vehicleY, vehicleZ = getElementPosition(vehicle) vehicleNeon[vehicle]["object.1"] = createObject(availableNeons[neon], 0, 0, 0) vehicleNeon[vehicle]["object.2"] = createObject(availableNeons[neon], 0, 0, 0) setElementPosition(vehicleNeon[vehicle]["object.1"], vehicleX, vehicleY, vehicleZ) setElementPosition(vehicleNeon[vehicle]["object.2"], vehicleX, vehicleY, vehicleZ) end vehicleNeon[vehicle]["object.zOffset"] = -0.5 end function removeNeon(vehicle, previewMode) if vehicleNeon[vehicle] then triggerServerEvent("tuning->Neon", localPlayer, vehicle, false) end if not previewMode then setElementData(vehicle, "tuning.neon", false) setElementData(vehicle, "vehicle.neon.active", false) end end function saveNeon(vehicle, neon) setElementData(vehicle, "tuning.neon", neon) setElementData(vehicle, "vehicle.neon.active", false) triggerServerEvent("tuning->Neon", localPlayer, vehicle, neon) end function restoreOldNeon(vehicle) if vehicle then local neonColor = getElementData(vehicle, "tuning.neon") or false local neonActivated = getElementData(vehicle, "vehicle.neon.active") or false if vehicleNeon[vehicle] then if vehicleNeon[vehicle]["object.1"] and vehicleNeon[vehicle]["object.2"] then local neonModel = availableNeons[vehicleNeon[vehicle]["oldNeonID"]] if neonModel then setElementModel(vehicleNeon[vehicle]["object.1"], neonModel) setElementModel(vehicleNeon[vehicle]["object.2"], neonModel) else destroyElement(vehicleNeon[vehicle]["object.1"]) destroyElement(vehicleNeon[vehicle]["object.2"]) vehicleNeon[vehicle] = nil end end end if neonColor then if neonActivated then triggerServerEvent("tuning->Neon", localPlayer, vehicle, neonColor) end end end end server.lua addEvent("tuning->Neon", true) addEventHandler("tuning->Neon", root, function(vehicle, neon) if vehicle then triggerClientEvent(root, "tuning->Neon", root, vehicle, neon) end end)
  9. Hello, I have a gallery system. Everything perfect but when i add or delete a car and quit the server. my tuning saves always dissapearing. Could you help me please ? i using "Vehicle Store Script" http://dosya.co/cqdux97x7ya7/VehicleShop.zip.html Please HELP ME
  10. Hello friend, sorry my English is bad.

     

     

    please help paintjob :( you help me?....

    thanks...

    1. Show previous comments  36 more
    2. queenshe

      queenshe

      Sorry my English very bad, i not understand you.

      What do you want me to do? Should I not ask you for help?

    3. IIYAMA

      IIYAMA

      Quote

      Sorry my English very bad, i not understand you.

      Maybe it is better to ask somebody from your country for help.

    4. queenshe

      queenshe

      I hate them all, they're all self-important.

  11. https://community.multitheftauto.com/index.php?p=resources&amp;s=details&amp;id=15728 Dont work! Answer: Please contact the author