09.12.2012, 18:48
Quote:
https://sampforum.blast.hk/showthread.php?tid=249226
use this. nativechecker. |
Quote:
That's a known vulnerability regarding dialog inputs, but I assume it is not something that should be disabled at the SA-MP core level, because there are other things to do with the input rather than format it, so the SA-MP developers cannot possibly restrict percent signs.
What you need to do is get rid of these using a loop, for example: pawn Код:
|
I just fixed it with:
pawn Код:
if(strfind(inputtext, "%") != -1) return SendClientMessage(playerid, COLOR_GREY, "Go crash another server faggot/bitch.");