Jump to content

why do you use player = source


relief

Recommended Posts

Posted

was messing with gamemodes today and saw this in ctf:

local player = source --It's important. Trust me. 

this line is in a event handler function

why is it important :tongue:

Posted

Well it has no + or - using it that way.

Maybe in the function was used "player" then the EventHandler was changed then to don't change every "player" to "source" it was a quick mode to do that.

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted

It's a problem of arguments. Every function needs some arguments or maybe not.

As Bandi said it was a quick mode to do it.

430x73_B2E03D_FF9900_000000_000000.png

Some people want it to happen, some wish it would happen, others make it happen.

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...