SendClientMessage Bug
#1

Hi,

If I try to put any "%" in a SendClientMessage without format it, it automatically crashes the sampserver.

Exemple:
SendClientMessage(playerid, -1, "Testing message with 100% crashes the samp server.");
Reply
#2

Illegal character, just say percent.

https://en.wikipedia.org/wiki/Uncont..._format_string
Reply
#3

use %%
Reply
#4

just format it with a double percent sign,
format(x, sizeof (x), "Testing message with 100%% will not crash the samp server.");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)