SA-MP Forums Archive
Need help! - 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: Need help! (/showthread.php?tid=655959)



Need help! - AlfaSufaIndo - 03.07.2018

Hi guys! I want to ask you guys, how to abbreviate a function?
For examples like this:

Код:
SendClientMessageFormatted() would be like SFM()
and
SendClientMessageFormattedToAll() would be like SFMToAll()
Can you guys help me? Thanks
Sorry for my bad english, I'm from Indonesian


Re: Need help! - Vithinn - 03.07.2018

Try it:

PHP код:
#define SFM SendClientMessageFormatted
#define SFMToAll SendClientMessageFormattedToAll 
I think that it will be enough to solve ur problem.