Jump to content

Thresh

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Thresh

  1. Thresh

    Race Output

    Thank you I got it
  2. Thresh

    Race Output

    Hey all. If youre playing on a Race server, everytime a new maps start the race output in the chatbox for e.g. Map MisterX_V1 started. The same thing when a player joins for e.g. Currently playing Race Map MisterX_V1. So my question is how can i disable this? Thank you for reading. Thresh
  3. Now it works! Thank you all guys
  4. Is there just copied the function but ok here is it : addCommandHandler ( "hello", helloCommand )
  5. It's still dont start the sound or show the text if i use that function helloCommand ( playerSource, commandName ) local accPlayer = getPlayerAccount(playerSource) local accName = getAccountName(accName) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( "Donator" ) ) then local theTriggerer = getPlayerName ( playerSource ) triggerClientEvent ( "onHello", getRootElement() ) outputChatBox ( theTriggerer .. " #ffffffstarted sound #ff8c00Hello Man#ffffff!", getRootElement(), 255, 255, 255, true ) end end
  6. How can I make this command only for acl group admin and donator? function helloCommand ( playerSource, commandName ) local theTriggerer = getPlayerName ( playerSource ) triggerClientEvent ( "onHello", getRootElement() ) outputChatBox ( theTriggerer .. " #ffffffstarted sound #ff8c00Hello Man#ffffff!", getRootElement(), 255, 255, 255, true ) end
×
×
  • Create New...