Jump to content

ginger_buddy

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by ginger_buddy

  1. Thank you Very much. The Sound() function (written above the disable and enable function in the same script file) just plays random music from music table at player location every once awhile. It appears that my original disable and enable function has incorrect syntax, now the function name links to the 'end'.
  2. is it possible to use command handler to change a variable in a particular script? For example (in sound.script) SoundEnabled = true function sound() if SoundEnabled then [some code] end AddEventHandler(......) now this function is my disable and enable sound function: function disablePlayLocalMusic(playerSource) if (playerSource) then if(SoundEnabled) then SoundEnabled = false outputChatBox ( "Ambience Sounds Disabled!", playerSource ) end elseif not (GroveEnable) then outputChatBox ( "Ambience Sounds Already Disabled!", playerSource ) end end end addCommandHandler ( "OffAmbience", disablePlayLocalMusic) function enablePlayLocalMusic(playerSource) if (playerSource) then if(SoundEnabled) then outputChatBox ( "Ambience Sounds Already Enabled!", playerSource ) end elseif not (SoundEnabled) then SoundEnabled= true outputChatBox ( "Ambience Sounds Enabled!", playerSource ) end end end addCommandHandler ( "OnAmbience", enablePlayLocalMusic) I want to use them to change soundEnabled to either true or false However in the game when I typed /OnAmbience or /OffAmbience, nothing happens and the function sound() also stops working. What did I do wrong? or does this method even work?
  3. I am frustrated working on this myself for awhile now. I am willing to pay someone to do this for me. I am requesting a script that does the following: 1. Duplicating existing weapon (although I already had that part with ammo bug fixed). 2. Upon switching weapon to New Duplicated Weapon, the Skin should not be bugged.(Like two skin overlapping one another) 3. The created object that represent the new weapon should not flop around while swinging camera around (The bone attachment bug) 4. When dropping or picking up the new weapon from ground, its skin should look like the corresponding skin for the new weapon. Payment Method : Paypal Contact: Pm Me for TS channel and Ur Price. Appropriate Credits will be given for the scripter or the original scripter (in case u got it from someone else), and we'll guarantee your work will not be leaked.
×
×
  • Create New...