-
Posts
158 -
Joined
-
Last visited
Everything posted by villr
-
does it work to put in a ped in a interior? If it works can someone put the code here?
-
so this should work? piratemusic = playSound3D ( blabla attachElements ( piratemusic,pirateship,0,0,0 )
-
Hey there I wonder if it works to attach music to a object?
-
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 )
-
Nope it is client side
-
no i dont get anything
-
Yea we really help to open it again so i hope someone will help us
-
havent check
-
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?
-
but omg i will check im not writed full onlly a few thing I will check it later
-
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
-
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
-
Yea now i have read it 2 times U want me to do what? Check if it any wrong or what?
-
What are you trying to say to me or what do you mean? And so you know the new code dont work
-
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
-
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)
-
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
-
Code or script? With script do u mean all in the script or only codes? I wanna send them in msn if u goot
-
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...?
-
Not working
-
Thx guys i will try now hope it works
-
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
-
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?
