29.09.2010, 16:23
new ip[64] and new ip[128] [192] not work. same error
D:\Lataukset\mrp(2).pwn(36183) : error 047: array sizes do not match, or destination array is too small
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