Jump to content

DJ_Shocker

Members
  • Posts

    23
  • Joined

  • Last visited

About DJ_Shocker

  • Birthday June 20

Details

  • Location
    United States

Recent Profile Visitors

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

DJ_Shocker's Achievements

Rat

Rat (9/54)

1

Reputation

  1. I'm in need of the following: - Prison Interior (possibly exterior) - LSPD Interior Map - Hospital Interior Map - City Hall Interior map. for Roleplay server. Any questions, let me know Thanks!
  2. Wow enjoyed watching this! Well done
  3. Looking for Roleplay Gamemode. English is a MUST. I did look at the OwlGaming release, but relies heavily on a UCP that isn't included and not really sure how to remove all of that. Everything I've found so far is in another language.
  4. Ok so I'm not exactly sure as to how to get this 1 minute warning sound to play every round at the one minute remaining mark. If you connect to the server, it plays at the right time, perfect. Then after that, it doesn't...until you reconnect. Can anyone shed some light on this?
  5. That's why it fixed it. Using a 50ms timer to stop the sound should have worked as well - but this is a better way of doing it. I was in a hurry this afternoon and didn't see his message at the bottom. I think i understand now. Basically this is a sound file that plays at the 1 Minute Mark on the round countdown timer. What i have noticed is that when you first connect, and the timer says 1 minute left, it plays and stops. But the next round, it will not play until you reconnect again. Should i try setting cds to nil after the stopSound until it comes back to play again? No errors are in the log.
  6. oh wow this fixed it! What's different from using just stopSound and adding isElement to it? Wiki showed nothing about this?
  7. I'm new to Lua and am trying to get a sound to stop. I looked at the Wiki and saw the stopSound. Well the music does not stop and am getting an error: bad argument at 'stopSound' expected sound at argument 1 addEventHandler ( "onClientClick", getRootElement(), results_click) addEventHandler("onClientRender", getRootElement(), score_render) setTimer(function() results_d.enter = 'Press Enter To Hide' results_d.res_dx.close[1] = (screenWidth - dxGetTextWidth ( results_d.enter, results_d.res_dx.size1, "bankgothic" ))/2 bindKey ( "enter", "up", HideResultsT ) end,4000,1) stopSound ( cds ) end That's where it stops it at. But it's saying unknown sound. It's clearly defined here: addEventHandler("DestroyRoundTimer", getRootElement(), DestroyRoundTimer) G_hud = "0:0" local s_1_00 = false function getTimeFromMilisec(t) local f = (t/1000)/60 m = math.modf(f) s = math.modf((f-m)*60) G_hud = FormatTimer(m,s) if s == 0 then if m == 1 and s_1_00 == false then s_1_00 = true cds = playSound("sounds/alarm.ogg",false) setSoundVolume( cds,0.6) end end end am i missing something?
  8. Does anyone have some casino game resources like BlackJack, Roulette, Texas Holdem, Poker, etc? I'm willing to purchase as they are needed for the casino businesses I'm working on setting up on my server. If anyone can point me in the right direction to someone who is trustworthy in selling/scripting these for me, I will be very thankful!
  9. I figured out it was a MySQL issue when it was trying to get the last set shop ID. Thanks WhoAmI. and no i wasn't using string.len or sth, but I do appreciate the response.
  10. DJ_Shocker

    Meaning?!

    I'm encountering this error: 0: attempt to get length of field '?' ( a nil value ) now the line 0 is very helpful on top of the fact the "?" What the heck does this mean and what can I look for to resolve it?
  11. Seriously? No answers? I'm sorry if it's too noobish, or w/e. I know how 90% of the internet is these days and do not like noob questions and just troll them or ignore them. But seriously, I'm asking a simple question so i can learn for future reference.
  12. i did do that. When i do, the server creates the new group with the autoGroup_ I'm just curious as to why when I change the name to the one i had, it acts like the mode does not have the permission when it's right there in the ACL? Did i do something wrong?
  13. I've created a new group in my ACL with specific rights to the resource i'm running. However, whenever I boot up the server, i get the message that it is requesting the permissions. I've already given it permissions in the acl. So I told the server to go ahead and do it. It created it's own group EXACTLY like mine, but with auto_ in front of the name. What is going on? SERVERS SETTING: MY SETTING:
  14. DJ_Shocker

    JoinSound

    I know this topic is almost a year old, but my problem is similar to this (at least I searched before posting a new topic?) Anyways, I'm completely new to Lua and am playing around with making a new RP server from scratch. You actually taught me how to create and trigger events. Thanks! I tried using what you have pasted and it does play, however, where you have: addEventHandler("onPlayerLogin", root, stopSoundOnLogin) Mine is: addEventHandler("spawnCharacter", root, stopSoundOnLogin) And it continues to play. I'm having trouble understanding this "addEventHandler" and such. I cannot count how many times i've read the wiki on this and it's like I'm reading Spanish. If someone could explain this and maybe explain the difference of you putting root rather than getRootElement() or some of the others I see in the Wiki?
×
×
  • Create New...