What is the meaning of "Public" ?
#1

The title describes it, I want the meaning of "public" and the use of it, Why do we use it ?

Ex; public OnGameModeInit()
Reply
#2

A Public function can be called in a timer, needs to be forwarded and mostly returns something;
inside a public function there can be other functions, things to do.
Reply
#3

Only when it needs to be directly called by the server. Callbacks, timers, CallLocalFunction and CallRemoteFunction. That's it. You don't need public functions for anything else.
Reply
#4

Public is a keyword which helps us to make a globalized function which may or may not return a value.
Reply
#5

Quote:
Originally Posted by Rittik
Посмотреть сообщение
Public is a keyword which helps us to make a globalized function which may or may not return a value.
Lol, I love how this guy always posts random crap that he doesn't even understand himself in an attempt to make himself look good.

Just a small note, please stop trying to help if you don't know what you're even saying.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)