Anti Adverting
#5

[QUOTE=Pixeli;855684]Now i have only 1 error:

D:\Lataukset\mrp(2).pwn(36183) : error 047: array sizes do not match, or destination array is too small

pawn Код:
#pragma tabsize 0
     new ip[64];
     //new cmd[256]; // You never assigned this value, so it must be commented.
    if(ipmatch(text, ip))
    {
      SendClientMessage(playerid, COLOR_RED, "You can't advertisement your server.");
      return 0;
Try that. If it still does not work, change new ip[64]; to a number between 64 to 128.
Oh and here's a tip; 256 uses too much memory. I recommend 128 or 192.
Reply


Messages In This Thread
Anti Adverting - by Pixeli - 29.09.2010, 15:48
Re: Anti Adverting - by CJ101 - 29.09.2010, 15:50
Re: Anti Adverting - by TheHoodRat - 29.09.2010, 15:51
Re: Anti Adverting - by Pixeli - 29.09.2010, 16:18
Re: Anti Adverting - by TheHoodRat - 29.09.2010, 16:21
Re: Anti Adverting - by Pixeli - 29.09.2010, 16:23
Re: Anti Adverting - by rbN. - 29.09.2010, 16:36
Re: Anti Adverting - by TheHoodRat - 29.09.2010, 16:42
Re: Anti Adverting - by royal_king - 29.09.2010, 16:42
Re: Anti Adverting - by TheHoodRat - 29.09.2010, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)