Author Topic: Problem about /fall and /me SPAM  (Read 3158 times)

0 Members and 1 Guest are viewing this topic.

Offline killvn1

  • Street Thug
  • *
  • Posts: 33
    • View Profile
Problem about /fall and /me SPAM
« on: July 11, 2013, 03:22:12 pm »
I make the anti flood or anti spam in my server. That's mean when player spam chat he will get kick.But soon i discover player in my server use /me [messenger] to spam and my anti spam can not kick him. Another problem it's the /fall disable fall on ground when hit by stubby , shotgun or spa

How can i disable /me or /fall in my server ? I use this

else if (strcmp(cmd, "/fall", true) == 0) {
        SendClientMessagef(playerid,RED, "You can't use this");
      return 1;

else if (strcmp(cmd, "/me", true) == 0) {
        SendClientMessagef(playerid,RED, "You can't use this");
      return 1;

But it's not work in my scripts.

Offline Elyks

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: Problem about /fall and /me SPAM
« Reply #1 on: July 11, 2013, 05:21:31 pm »
I make the anti flood or anti spam in my server. That's mean when player spam chat he will get kick.But soon i discover player in my server use /me [messenger] to spam and my anti spam can not kick him. Another problem it's the /fall disable fall on ground when hit by stubby , shotgun or spa

How can i disable /me or /fall in my server ? I use this

else if (strcmp(cmd, "/fall", true) == 0) {
        SendClientMessagef(playerid,RED, "You can't use this");
      return 1;

else if (strcmp(cmd, "/me", true) == 0) {
        SendClientMessagef(playerid,RED, "You can't use this");
      return 1;

But it's not work in my scripts.

[pawn] if (strcmp(cmd, "/fall", true) == 1)  return true;
else if (strcmp(cmd, "/me", true) == 1) return true;[/pawn]

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Problem about /fall and /me SPAM
« Reply #2 on: July 11, 2013, 11:19:39 pm »
This is only possible in Squirrel. All you're doing is disabling /c /fall
Do not PM me for support.




Offline killvn1

  • Street Thug
  • *
  • Posts: 33
    • View Profile
Re: Problem about /fall and /me SPAM
« Reply #3 on: July 12, 2013, 07:44:49 am »

[pawn] if (strcmp(cmd, "/fall", true) == 1)  return true;
else if (strcmp(cmd, "/me", true) == 1) return true;[/pawn]

Hmm not work in PAWN :(

Offline Elyks

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: Problem about /fall and /me SPAM
« Reply #4 on: July 12, 2013, 01:16:14 pm »

[pawn] if (strcmp(cmd, "/fall", true) == 1)  return true;
else if (strcmp(cmd, "/me", true) == 1) return true;[/pawn]

Hmm not work in PAWN :(
...
This is only possible in Squirrel. All you're doing is disabling /c /fall