CheiN Posted August 21, 2012 Posted August 21, 2012 function sod ( ) spawnPlayer ( source, sintax....) outputChatBox ( "Welcome to M.F.A", source, 255, 0, 0, true ) end addEventHandler ( "onPlayerWasted", root, sod ) Im good?
AMARANT Posted August 21, 2012 Posted August 21, 2012 function sod ( ) spawnPlayer ( source, 1200, -1400, 13) outputChatBox ( "Welcome to M.F.A", source, 255, 0, 0 ) end addEventHandler ( "onPlayerWasted", getRootElement(), sod )
CapY Posted August 21, 2012 Posted August 21, 2012 root is a predefined variable for the getRootElement(), no need to worry about that though. Last 4 parameters @ outputChatBox are optional, means they are not required to be used if you do not want to.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now