Jump to content

villr

Members
  • Posts

    158
  • Joined

  • Last visited

Everything posted by villr

  1. does it work to put in a ped in a interior? If it works can someone put the code here?
  2. villr

    Attachmusic?

    thxs then i gonna try it
  3. villr

    Attachmusic?

    so this should work? piratemusic = playSound3D ( blabla attachElements ( piratemusic,pirateship,0,0,0 )
  4. villr

    Attachmusic?

    Hey there I wonder if it works to attach music to a object?
  5. Right now code is addEventHandler( "onClientPlayerWasted", getLocalPlayer( ), function( ) if source == getLocalPlayer( ) then -- Wojak forgot about "then" here local name = getPlayerName(source) outputDebugString("ped died") outputDebugString("player that died: "..name..", local player: "..getPlayerName(getLocalPlayer())) guiSetVisible (spawnmenugrid, true ) guiSetVisible(spawnmenumemo,true) showCursor ( true ) showPlayerHudComponent("radar",false) showChat(false) end end )
  6. villr

    Not visible

    Yea we really help to open it again so i hope someone will help us
  7. We have a working code now BUT when a player die it dont show up again but it dont show upp for all Here is the code addEventHandler( "onClientPedWasted", getLocalPlayer( ), function( ) if source == getLocalPlayer( ) then -- Wojak forgot about "then" here local name = getPlayerName(source) outputDebugString("player that died: "..name..", local player: "..getPlayerName(getLocalPlayer())) guiSetVisible (spawnmenugrid, true ) guiSetVisible(spawnmenumemo,true) showCursor ( true ) showPlayerHudComponent("radar",false) showChat(false) end end ) What is wrong now?
  8. but omg i will check im not writed full onlly a few thing I will check it later
  9. yea code is coming and i tryed on an "online"server witch people can enter and when a player die that message come "player have died"And no error messages but it show up for all still beacuse i have not edit the script, only now tested it
  10. ohh u mean debugline that put out when player die? I will check if it come any in window about it and if not are coming is it not working or what? I will try and se in my "private"server
  11. Yea now i have read it 2 times U want me to do what? Check if it any wrong or what?
  12. What are you trying to say to me or what do you mean? And so you know the new code dont work
  13. I will try that new code hope it works If u mean that /debugscript so yea i heard about it Its not on my server im testing but im admin there so i can check and the gui are showing upp for people when the die but i will try the new
  14. Hmm im starting to think about one thing in script... What are the funciton doing is it requied or i need to remove it?? First script was addEventHandler( "onClientPlayerWasted", getLocalPlayer( ), function( ) guiSetVisible (spawnmenugrid, true ) guiSetVisible(spawnmenumemo,true) showCursor ( true ) showPlayerHudComponent("radar",false) showChat(false) end) and now it is addEventHandler( "onClientPlayerWasted", getLocalPlayer( ), function( ) if source == getLocalPlayer( ) then -- Wojak forgot about "then" here guiSetVisible (spawnmenugrid, true ) guiSetVisible(spawnmenumemo,true) showCursor ( true ) showPlayerHudComponent("radar",false) showChat(false) end end)
  15. I mean if its a script i send by msn or hotmail or if a only a code of it or something i post it here
  16. Code or script? With script do u mean all in the script or only codes? I wanna send them in msn if u goot
  17. The code dosent work Still when a player die the gui show up Do the gui need to be in a window or something beacuse my spawning gui is only a gridlist...?
  18. Thx guys i will try now hope it works
  19. Haha im very ^^ so what shold be there? Is the -- a nedd or something or should i remove the last one or something? Haha im just a little^^^^ nooby:P Im a new scripter
  20. Oh that error code was from a other script Sorry for that but we have try the script but it dont work so u know how to fix it or u think its a bug?
×
×
  • Create New...