Anti Adverting
#6

new ip[64] and new ip[128] [192] not work. same error

pawn Код:
public OnPlayerText(playerid, text[])
{
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new string[128];
    new tmp[128];
    if(PlayerInfo[playerid][pHospital] == 1 || CanTalk[playerid] == 0)
    {
        return 0;
    }
#pragma tabsize 0
     new ip[192];
     //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;

D:\Lataukset\mrp(2).pwn(36183) : error 047: array sizes do not match, or destination array is too small
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: 2 Guest(s)