[Help] Macro String - 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: [Help] Macro String (
/showthread.php?tid=384428)
[Help] Macro String -
Minko - 11.10.2012
Hello, Could you help me please ?? I want to create Macro GameTextForPlayer (Multilanguage), but i have a problem
Код:
#define GTLFP(%0,%1,%2,%3,%4) GameTextForPlayer(%0, (PlayerInfo[(%0)][Language]) ? %2 : %1,%3,%4)
Using:
Код:
GTLFP(playerid,"~g~Uspesne Zaregistrovany!!","~g~Successfully Registered!!",4000,3);
error:
Код:
error 001: expected token: "-string end-", but found "-identifier-"
Код:
enum PlayerData{
bool:Language = false
};
new PlayerInfo[MAX_PLAYERS_EX][PlayerData];
Re: [Help] Macro String -
Riddick94 - 11.10.2012
The name of macro is different than you're using.
Re: [Help] Macro String -
Minko - 11.10.2012
sorry , itґs only my mistake in that post.

,