Jump to content

Diddly_Squat

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Diddly_Squat

  1. Thanks for a quit response, I have tried what you suggested and it hasn't seemed to work the script currently looks like: function onPlayerSpawn ( theSpawnpoint, theTeam ) local sound = playSound("sound/intro.mp3",false) setSoundVolume(sound, 0.5) end addEventHandler ( "triggerClientEvent", getRootElement(), onPlayerSpawn )
  2. I'm wondering if it would be possible to make a script where when you join a Server it plays a song, It would be great fun to see if it works, I'm just not sure if its Possible. The Track i would use is only 1.04mins so it wouldn't be too hefty a DL Here's what I have so far, It wont play when I connect though so I'm not sure what to do function onPlayerSpawn ( theSpawnpoint, theTeam ) local sound = playSound("sound/intro.mp3",[ bool looped = false ] ) setSoundVolume(sound, 0.5) end addEventHandler ( "onPlayerSpawn", getRootElement(), onPlayerSpawn ) <meta> <info author="Spike" version="1.0.0" type="script" description="" /> <script src="spwnsound.lua" type="client"/> <file src="sound/intro.mp3" /> </meta> Can anyone Help please?
  3. Thanks varez and TDK I managed to get it onto my server using a Mixture of TXDworkshop and IMG Tool
  4. I have problem with my skin script it doesn't work.. It starts fine, but other players who join my server cant see it Here is my code: function onResourceStart() --staffskin TV = engineLoadTXD ( "skins/217.txd" ) engineImportTXD ( TV, 217 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) and here is the Meta <meta> <info author="Matt76 & Spike" version="1.0.0" type="script" description="staffskin = id 217" /> <script src="skins.lua" type="client"/> <file src="skins/217.txd" /> </meta> *EDIT* I Have just been told that the scripts work fine its just the TXD, does anyone happen to know where i can get a TXD Builder??
×
×
  • Create New...