SA-MP Forums Archive
What is `_` on callbacks - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What is `_` on callbacks (/showthread.php?tid=542807)



What is `_` on callbacks - jamjamnewbie - 22.10.2014

I've seen some filterscripts/includes which use `_` on callbacks
Like this
Код:
forward LoadUser_data(playerid);
public LoadUser_data(playerid) {
     //stuff here
}
What is its effect?


Re: What is `_` on callbacks - Stinged - 22.10.2014

https://sampforum.blast.hk/showthread.php?tid=485611


Re: What is `_` on callbacks - kaisersouse - 22.10.2014

From the link posted above: "An improved version (with a "_" to separate the function parts):"

The underscore (_) just makes things easier for humans to read.