#define SendSyntax(playerid, string[]) SendClientMessage(playerid, COLOR_GREY, string) 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: #define SendSyntax(playerid, string[]) SendClientMessage(playerid, COLOR_GREY, string) help (
/showthread.php?tid=595160)
#define SendSyntax(playerid, string[]) SendClientMessage(playerid, COLOR_GREY, string) help -
RedCounty - 28.11.2015
How can I make it so this works without giving me errors?
pawn Code:
#define SendSyntax(playerid, string[]) SendClientMessage(playerid, COLOR_GREY, string)
I have tried
pawn Code:
#define SendSyntax(playerid, %1) SendClientMessage(playerid, COLOR_GREY, %1)
But it didn't work lol
Re: #define SendSyntax(playerid, string[]) SendClientMessage(playerid, COLOR_GREY, string) help -
IstuntmanI - 28.11.2015
pawn Code:
#define SendSyntax(%1,%2) SendClientMessage(%1, COLOR_GREY, %2)