Jump to content

^Dev-PoinT^

Members
  • Posts

    313
  • Joined

  • Last visited

Everything posted by ^Dev-PoinT^

  1. i think you can with this you have to Use This https://wiki.multitheftauto.com/wiki/Gui ... taticImage and the x , y ,z with the radar postion
  2. what about this ? function beepClient(thePlayer) if isVehicleLocked(source) then local x, y, z = getElementPosition(thePlayer) local beep = playSound("sound/Alarm.mp3", x, y, z, false) setSoundVolume(beep, 2.0) setSoundMaxDistance(beep, 100) stopSound( beep ) setTimer ( stopSound, 10000, 1 ) end end addEventHandler("onClientVehicleStartEnter", getRootElement(), beepClient)
  3. Hi it dosnt Play The Sound function beepClient(thePlayer) local playervehicle = getPedOccupiedVehicle(thePlayer) if isVehicleLocked(playervehicle) then local x, y, z = getElementPosition(thePlayer) local beep = playSound("sound/Alarm.mp3", x, y, z, false) setSoundVolume(beep, 2.0) setSoundMaxDistance(beep, 100) end end addEventHandler("onClientVehicleStartEnter", getRootElement(), beepClient)
  4. i fixed it with this its Nice to fix things By Yourself thx You all for help me function res ( ) outputChatBox ( "Respawn after 5 seconds...", source, 255, 255, 0, true ) setTimer ( spawnPlayer, 5000, 1, source, x, y, z, 0, getElementModel(source) ) end addEventHandler ( "onPlayerWasted", getRootElement( ), res )
  5. it send me underground? Like bug
  6. Benxamix2 he i have select skin 46 but when i die he set My skin to 0 how to Make it = getPlayerSkin that he select
  7. Like Thx? serverSide --- function res ( ) local x, y, z = getElementPosition ( source ) outputChatBox ( "Respawn after 5 seconds...", source, 255, 255, 0, true ) setTimer ( spawnPlayer, 5000, 1, source, x, y, z, 0, math.random ( 0,200 ) ) end addEventHandler ( "onPlayerWasted", getRootElement( ), res ) clientSide ----- function res ( ) setGameSpeed ( 0.4 ) end addEventHandler( "onClientPlayerWasted", getLocalPlayer( ), res ) function res ( ) setGameSpeed ( 1 ) end addEventHandler( "onClientPlayerSpawn", getLocalPlayer( ), res )
  8. Hi i made this function res () local x, y, z = getElementPosition(source) outputChatBox("Respawn after 5 seconed...", getRootElement(), 255, 255, 0, true) setTimer (spawnPlayer, 5000, 1, source, x, y, z, 0, math.random(0,200) ) setGameSpeed(tonumber(0.4)) end addEventHandler( "onPlayerWasted", getRootElement( ), res ) how to Make gameSpeed Back to normal after Player Spawn
  9. ================================== Copy internal.db to internal_original.db Do this command: ./sqlite3 internal_original.db .dump | ./sqlite3 internal_repaired.db Copy internal_repaired.db to internal.db ====================================
  10. ^Dev-PoinT^

    Health

    use 2 things https://wiki.multitheftauto.com/wiki/IsObjectInACLGroup function StopDamage ( attacker, weapon, bodypart ) cancelEvent() end bindKey ( "F1" , "down" ,StopDamage) addEventHandler ( "onClientPlayerDamage", getLocalPlayer(),StopDamage ) Edited Mojrem that is for body part you noob he want no damage at all Please Read Wiki for few minutes
  11. lol Nice Job CowTurbo i like that thing you ride it
  12. what about this ? if source == nredBar or source == ngreenBar or source == nblueBar then setPlayerNametagColor(localPlayer,(guiScrollBarGetScrollPosition(nredBar)*2.55),(guiScrollBarGetScrollPosition(ngreenBar)*2.55),(guiScrollBarGetScrollPosition(nblueBar)*2.55))
  13. what abuout this ? function restartAllResources() -- we store a table of resources local allResources = getResources() -- for each one of them, for index, res in ipairs(allResources) do -- if it's running, if getResourceState(res) == "running" then -- then restart it restartResource(res) end end end
  14. ^Dev-PoinT^

    Various

    iam not experienced Scripter i have months To Learn Now i Make My own Rool script wait for other one
  15. ^Dev-PoinT^

    Various

    [setPlayerMoney] Required Arguments thePlayer: Which player to set the money of amount: A whole integer specifying the new amount of money the player will have and getPlayerMoney Need The localPlayer Onley
  16. oh sry i dont get what he say isnt Ped =Zombie and Player?
  17. ped = createPed( 19, -1634.5775, 1203.85, 7.1796 ) addCommandHandler( "give", function ( player, command, id, amount ) if not tonumber ( id ) then return end if not tonumber ( amount ) then amount = 9001 end giveWeapon( ped, id, amount, true ) end ) You can give him a weapon with "give " command in console.
  18. why dont you read wiki ? function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor_Button[1]) then triggerServerEvent ("Froze", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function toggleFreeze ( localPlayer) local frozen = getPedFrozen ( localPlayer) setPedFrozen ( sourcePlayer, not frozen ) end addEventHandler ("onClientGUIClick", getLocalPlayer(), onGuiClick)
  19. tapl you remember my topic about RedTeam and Blue Team is this can work with and is it effects on this?
  20. it didnt work but Thx any way Solved i alredy have one but white color
  21. Please Help day by day mybe i well get Better
×
×
  • Create New...