• Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral


About Viudes

  • Rank

Recent Profile Visitors

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

  1. Viudes

    help me please

    First of all can you explain better? I can't understand what you mean
  2. function ShowControlPanel(seat) seat = getPedOccupiedVehicle (localPlayer) vehiclee = getPedOccupiedVehicle(localPlayer) if (vehiclee) and getPedOccupiedVehicleSeat (localPlayer) == 0 and localPlayer == localPlayer then bool = not bool showCursor(bool) guiSetVisible(ControlPanel,bool) end end bindKey("F2","up",ShowControlPanel) --why this qui show all players? This is clientside and Should show only localplayer
  3. Viudes

    guiCreateMemo fix

    I never use community resources. I wanna learn lua and that not gonna happend if I use comminity:~
  4. Infobox = guiCreateMemo(sWidth/700, sWidth/800, sWidth, sHeight,'How I can listen music from youtube?\n\nFirst open interner browser then go to site called dropbox( and sing in or sing up.\nThen go to youtube and searche your song.\nWhen you are decided your song go to and but your song url to convert box.(Make sure you have "mp3" selected).',false,howToCreateSpeaker) I try to make helpbox but lower resolutions this not show correct. How i can fix this?
  5. attachElement not work. i dont know how i can solve this This clientside script is called by server root but still not work all player only who play music hear that unction startMusicFinally(Playerx,Playery,Playerz,MusicLink,MusicPlayer) Vehicle = getPedOccupiedVehicle (localPlayer) if Vehicle then stopSound(speakerSound [localPlayerName]) speakerSound [localPlayerName]= playSound3D(MusicLink,Playerx,Playery,Playerz,true) attachElements(speakerSound [localPlayerName],Vehicle,0,0,0.5) attachTimer = setTimer(KeepSound,50,0) else stopSound(speakerSound [localPlayerName]) speakerSound [localPlayerName]= playSound3D(MusicLink,Playerx,Playery,Playerz,true) end end function KeepSound() attachElements(speakerSound [localPlayerName],Vehicle,0,0,0.5) end
  6. How i can stream music from youtube?
  7. I don't changed any code. I add spaces like you see. And I dont need check Fileexist beacuse its link or i don't know what you mean
  8. I get always error when i try play sound all player. Sound work localplayer but other clients get error: Clientside: function eventHandler() if source == test then triggerServerEvent("PlaySelectedMusic",resourceRoot,guiGetText(editBox),localPlayer) end end function FinallyPlaySound() x,y,z = getElementPosition(localPlayer) sound = playSound3D(guiGetText(editBox),x,y,z, true) end Serverside: function test(message) triggerClientEvent( "PlaySoundAll",root) outputChatBox(message) end
  9. local connectedPlayers = getElementsByType ( "player" ) for i, aPlayer in ipairs(connectedPlayers) do bindKey ( aPlayer, "x", "down",SuperStop) end WHy this script not start working when player join? always need to restart script.
  10. Now i fix those but still not work! local fakboi = dxCreateTexture("dream.png") function kana() dxDrawImage3D(-2289.07007, -1627.28430, 483.75891, 20, 20, fakboi, tocolor(255,255,255,255)) end addEventHandler("onClientRender", root, kana)
  11. Whyt that script not work? gives that error: local troll = dxCreateTexture("trollface.png") function kana() dxDrawImage3D(-2289.07007, -1627.28430, 483.75891, 20, 20, fakboi, tocolor(255,255,255,255)) end addEventHandler("onClientRender", root, kana)
  13. but i cant warp players with that