Jump to content

3HAXAPb94

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

0 Neutral

About 3HAXAPb94

  • Rank
    Rat
  • Birthday 01/08/1994

Details

  • Gang
    banned
  • Location
    Ukraine
  • Occupation
    Fishman
  • Interests
    Fishing <3
  1. Anubhav, map music its not stream this music in map folder for example music.mp3. It playing all times if map starting (onClientMapStarting).
  2. Stop map music and play radio. if I stop radio then play map music
  3. radioURL1 = "myRadioSTATION" function play () theRadio = playSound(radioURL1) end play () -- if radio dont play I need play map music... function mute () setSoundVolume(theRadio, 0) outputChatBox ("Radio muted") end addCommandHandler ("muteRadio",mute) --if play radio then stop map music but I dont know how to do it function playRadio () outputChatBox ("Radio unmuted") setSoundVolume(theRadio, 1) end addCommandHandler ("playRadio",playRadio)
  4. How I can check if playing map music and stream music
  5. Hi all. How I can mute just map music not stream music? I want to make setting addCommandHandler /muteRadio then play map music if I write /playRadio then mapmusic stop playing. So anybody help me
  6. Nice One Keyl It's really helps for scripting)
  7. Thanks Solidsnake now Its work =) "I'm assuming that you have 'posX', 'posY', 'Hvis', 'vis' variables defined already?" yes
  8. --Client addEvent ("onUpgradeText",true) addEventHandler ("onUpgradeText",root,weaponBar) function weaponBar(message) if not message then message = "not upgrade" dxDrawRectangle (posX*2+300,posY,250,100, tocolor (0,0,0,150)) dxDrawRectangle (posX*2+300,posY,250,Hvis, tocolor (255,255,255,150)) dxDrawText ("Upgrade",posX*2+300,-(vis)+50-(Hvis),sX,sY,tocolor (255,255,255,255),1.5,"default-bold", "center", "center") dxDrawText (message,posX*2+300,-(vis)+100-(Hvis),sX,sY,tocolor (255,255,255,255),2,"default-bold", "center", "center") end end addEventHandler ("onClientRender",root
  9. Guys, but it still not work. Maybe in client somethink bugged?
  10. addEvent ("onUpgradeText",true) addEventHandler ("onUpgradeText",root,weaponBar) function weaponBar(message) if not message then message = "not upgrade" dxDrawRectangle (posX*2+300,posY,250,100, tocolor (0,0,0,150)) dxDrawRectangle (posX*2+300,posY,250,Hvis, tocolor (255,255,255,150)) dxDrawText ("Upgrade",posX*2+300,-(vis)+50-(Hvis),sX,sY,tocolor (255,255,255,255),1.5,"default-bold", "center", "center") dxDrawText (message,posX*2+300,-(vis)+100-(Hvis),sX,sY,tocolor (255,255,255,255),2,"default-bold", "center", "center") end end addEventHandler ("onClientRender",root, weaponBa
  11. local luck = math.random(1,5) if luck == 1 then message = "Barrel" triggerClientEvent (source, "onUpgradeText", getRootElement(), message) giveMeBarrel () elseif luck == 2 then message = "Aura" triggerClientEvent (source, "onUpgradeText", getRootElement(), message) giveMeAura() elseif luck ==3 then message = "Fix" triggerClientEvent (source, "onUpgradeText", getRootElement(), message) fixVehicle () elseif luck == 4 then message = "Nitro" triggerClientEvent (source, "onUpgradeText", getRootElement(), message) nitro () elseif luck == 5 then message = "Rocket" triggerClientEve
  12. --client addEvent ("onUpgradeText",true) addEventHandler ("onUpgradeText",root,weaponBar) function weaponBar(message) if not message then message = "no upgrade" dxDrawRectangle (posX*2+300,posY,250,100, tocolor (0,0,0,150)) dxDrawRectangle (posX*2+300,posY,250,Hvis, tocolor (255,255,255,150)) dxDrawText ("Upgrade",posX*2+300,-(vis)+50-(Hvis),sX,sY,tocolor (255,255,255,255),1.5,"default-bold", "center", "center") dxDrawText (message,posX*2+300,-(vis)+100-(Hvis),sX,sY,tocolor (255,255,255,255),2,"default-bold", "center", "center") end end addEventHandler ("onClientRender",
×
×
  • Create New...