Jump to content

[Help] Soundcommands


cihad

Recommended Posts

Hey guys! i have soundcommands a long time ago ( 3 years) and i don't know how to add Money to it :S like if someone types in /gay he will lose 500$ and time when he can do the cmd again. can someone help ? Heres the server :

function flushingCommand ( playerSource, commandName ) 
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onToiletFlush", getRootElement() )
    outputChatBox ( theTriggerer .. "#00FF00 just flushed the toilet!", getRootElement(), 255, 255, 255, true )
 
end
 
function gayCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onGay", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00HA! GAYYYY!", getRootElement(), 255, 255, 255, true )
 
end
 
function trololoCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onTrololo", getRootElement() )
    outputChatBox ( "#00FF00You have been trololol'd by " .. theTriggerer .. "#00FF00!", getRootElement(), 255, 255, 255, true )
end
 
function fuckyouCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onFuckyou", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Fuck You", getRootElement(), 255, 255, 255, true )
end
 
function kidCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onKid", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00hahaha", getRootElement(), 255, 255, 255, true )
end
 
function helloCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onHello", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Hello Man!", getRootElement(), 255, 255, 255, true )
end
 
function phoneCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onPhone", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Come On pick up the phone!:|", getRootElement(), 255, 255, 255, true )
end
 
function juiceCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onJuice", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00JUICEE!!!!", getRootElement(), 255, 255, 255, true )
end
 
 
function kaboomCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onKaboom", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Kaboom.", getRootElement(), 255, 255, 255, true )
end
 
function passCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onPass", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00YOU SHALL NOT PASS!!!!", getRootElement(), 255, 255, 255, true )
end
 
function charlieCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onCharlie", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Charlie Charlie The Drunk Guinea Pig!!!", getRootElement(), 255, 255, 255, true )
end
 
function shutupCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onShutup", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00SHUT UP!", getRootElement(), 255, 255, 255, true )
end
 
function listenCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onListen", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Listen To me! Listen to me!", getRootElement(), 255, 255, 255, true )
end
 
function amazingCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onAmazing", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Amazing!", getRootElement(), 255, 255, 255, true )
end
 
function charlierapCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onCharlierap", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00My Name Is F**King Charlie...", getRootElement(), 255, 255, 255, true )
end
 
function ahCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onAh", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00AAAAAAH!!!!!!!!!!!", getRootElement(), 255, 255, 255, true )
end
 
function byeCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onBye", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00Bye Bye!", getRootElement(), 255, 255, 255, true )
end
 
function gunCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onGun", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00PAM PAM!", getRootElement(), 255, 255, 255, true )
end
 
function bullshitCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onBullshit", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00BULLSH*T!!!", getRootElement(), 255, 255, 255, true )
end
 
function faceCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onFace", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00FF00In YOUR FACE! IN YOUR FACE!", getRootElement(), 255, 255, 255, true )
end
 
function wtfCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onWtf", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00ffffLike WTF Is THAT?!", getRootElement(), 255, 255, 255, true )
end
 
function noCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onNo", getRootElement() )
    outputChatBox ( theTriggerer .. ": #00ff00NO NO NOOOO!!", getRootElement(), 255, 255, 255, true )
end
 
function holdCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onHold", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffHOLD IT , HOLD IT, HOOOOLD IIIIIIIIIIIIIT!!!!!!!!!!!!", getRootElement(), 255, 255, 255, true )
end
 
function nohugCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onNohug", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffNO HUG for YOU , No Hug for you!", getRootElement(), 255, 255, 255, true )
end
 
function afrocircusCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onAfrocircus", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffTAA tatatatata tatta Afro circus!", getRootElement(), 255, 255, 255, true )
end
 
function badumCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onBadum", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffBadumm tsss...", getRootElement(), 255, 255, 255, true )
end
 
function bennyhillCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onBennyhill", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123ffftaa dunududnudnddund!", getRootElement(), 255, 255, 255, true )
end
 
function bestcryCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onBestcry", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffHUUUuuuuuuuuuuaah!!:(", getRootElement(), 255, 255, 255, true )
end
 
function birdCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onBird", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffIII wanna bird bird bird bird is the word!", getRootElement(), 255, 255, 255, true )
end
 
function touchCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onTouch", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fff Can't Touch This!", getRootElement(), 255, 255, 255, true )
end
 
function durkadurkCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onDurkadurk", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffDont Drop that durka durk eey!", getRootElement(), 255, 255, 255, true )
end
 
function lazorCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onLazor", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffFIRING MA LAZOR!", getRootElement(), 255, 255, 255, true )
end
 
function horseCommand ( playerSource, commandName )
 
    local theTriggerer = getPlayerName ( playerSource )
    triggerClientEvent ( "onHorse", getRootElement() )
    outputChatBox ( theTriggerer .. ": #123fffMa Horse is amazing!", getRootElement(), 255, 255, 255, true )
end
 
addCommandHandler ( "flush", flushingCommand )
addCommandHandler ( "gay", gayCommand )
addCommandHandler ( "trololo", trololoCommand )
addCommandHandler ( "charlie", charlieCommand )
addCommandHandler ( "kid", kidCommand )
addCommandHandler ( "hello", helloCommand )
addCommandHandler ( "phone", phoneCommand )
addCommandHandler ( "juice", juiceCommand )
addCommandHandler ( "kaboom", kaboomCommand )
addCommandHandler ( "pass", passCommand )
addCommandHandler ( "fuckyou", fuckyouCommand )
addCommandHandler ( "charlie", charlieCommand )
addCommandHandler ( "shutup", shutupCommand )
addCommandHandler ( "listen", listenCommand )
addCommandHandler ( "amazing", amazingCommand )
addCommandHandler ( "charlierap", charlierapCommand )
Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...