Posts: 267
Threads: 79
Joined: Oct 2007
Reputation:
0
Hey.. I want to know if there's any option to make public to work..
like if I type a command it makes a public to work?
Posts: 267
Threads: 79
Joined: Oct 2007
Reputation:
0
I'm trying to make a command that call the public OnPlayerDisconnect cuz right now when players disconnect on my script it saves his stats.. so I want that when I type the command it will save it, without type the whole OnPlayerDisconnect functions
Posts: 122
Threads: 6
Joined: Aug 2010
Reputation:
0
I'm not sure how you could possibly do something like that.
The easiest way is to create a new public function and then copy everything from OnPlayerDisconnect inside this public function, so it will be like a duplicate.
And then simply call the duplicate function you just created.