[HELP]
Čaute.
Potreboval by som poradit ako prerobit FS aby my to chytalo aj reklamu cez pm-ky,napr:/pm 1 podte na server 192.168.1.101:7877..a www.blablbla.com.......aby ho to zabanovalo!
public OnPlayerText(playerid, text[])
{
for (new a; a < 9; a++) {
for (new b; b < 9; b++) {
for (new c; c < 9; c++) {
for (new d; d < 9; d++) {
new str1[16], str2[16], str3[16], str4[16], str5[16];
format(str1, 16, ":%d%d%d%d", a, b, c, d);
format(str2, 16, "%d%d%d%d:", a, b, c, d);
format(str3, 16, "%d %d %d %d:", a, b, c, d);
format(str4, 16, ":%d %d %d %d", a, b, c, d);
format(str5, 16, ": %d%d%d%d", a, b, c, d);
if (0 <= strfind(text, str1, false, 0)) {
new str[256];
format(str, sizeof(str), "[ AntiReklama ] Hráč %s byl ZABANOVÁN za REKLAMU !!", PlayerName(playerid));
SendClientMessageToAll(RED, str);
SendClientMessage(playerid, RED, "Byl jsi ZABANOVÁN za REKLAMU !! žádej o UnBan na webu www.blabalbla.sk v sekci UnBan !");
arpoint[body]++;
Ban(playerid);
return 0;
Dakujem za pomoc !