19.11.2013, 20:01
It won't work you can send the percent symbol in a client message test this.
#include <a_samp>
#include <zcmd>
Prints in game:
You get off!
You get off!
(Better believe I get off)
The print however is this
[16:01:54] You get %10 off!
[16:01:54] You get %10 off!
#include <a_samp>
#include <zcmd>
pawn Код:
CMD:testpercent(playerid, arg[])
{
new line[128];
format(line, sizeof(line), "You get 10%% off!");
SendClientMessage(playerid, -1, line);
print(line);
format(line, sizeof(line), "You get 10%c off!", 37);
SendClientMessage(playerid, -1, line);
print(line);
return 1;
}
You get off!
You get off!
(Better believe I get off)
The print however is this
[16:01:54] You get %10 off!
[16:01:54] You get %10 off!