Guest Posted July 19, 2018 Share Posted July 19, 2018 guys i want to ask you when i type ' source ' and when i type ' thePlayer' for example: outputChatBox ( "Text", source ) outputChatBox ( "Text", thePlayer ) Link to comment
Moderators IIYAMA Posted July 20, 2018 Moderators Share Posted July 20, 2018 That depends on the event. https://wiki.multitheftauto.com/wiki/Server_Scripting_Events https://wiki.multitheftauto.com/wiki/Client_Scripting_Events https://wiki.multitheftauto.com/wiki/OnClientPickupHit Just read the documentation. Then you know which element is the source and also if there are any parameters passed. Only events can have the `source` predefined variable. 1 Link to comment
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