13.09.2016, 14:17
Hi,
How much specifiers, or variables i can use when in format(... , BLABLA[ playerid ], ..... )
How much specifiers, or variables i can use when in format(... , BLABLA[ playerid ], ..... )
new f[50], test[50] = "test"; format(f, sizeof f, test);
new f[50], test[50] = "my name is %s", name[24]; GetPlayerName(playerid, name, 24); format(f, sizeof f, test, name);
#define test "test" new f[50]; format(f, sizeof f, test);
#define test "my score is %d" new f[50]; format(f, sizeof f, test, GetPlayerScore(playerid));
No
I talk about limits, how much variables in format i can use |
new string[13]; format(string, sizeof string, "The name is %s", "FORUM_SAMP") |
error 045: too many function arguments
fatal error 102: table overflow: "staging buffer"
new string[500]
new string [ < 500 ]