Guest

help

Recommended Posts

Guest

guys i want to ask you when i type ' source ' and when i type ' thePlayer'

for example:

	outputChatBox ( "Text", source )
	outputChatBox ( "Text", thePlayer )

 

Share this post


Link to post

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

Naamloos222222222222.png

 

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.

 

 

 

 

  • Like 1

Share this post


Link to post

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.