11.11.2010, 19:47
Hey guys,
Was wondering if anyone can lend some assistance with two errors im getting:
Error 1:
error 033: array must be indexed (variable "ad")
Code:
}
new ad[265]; // <------- Error!
ad = msg(cmdtext, idx);
if (!strlen(ad)) return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /(ad)vertise [advertisement]");
if(AdTimer != 0)
{
Error 2:
error 033: array must be indexed (variable "name")
new name[256]; // <------- Error
name = msg(cmdtext,idx);
Thanks for any support given.
Was wondering if anyone can lend some assistance with two errors im getting:
Error 1:
error 033: array must be indexed (variable "ad")
Code:
}
new ad[265]; // <------- Error!
ad = msg(cmdtext, idx);
if (!strlen(ad)) return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /(ad)vertise [advertisement]");
if(AdTimer != 0)
{
Error 2:
error 033: array must be indexed (variable "name")
new name[256]; // <------- Error
name = msg(cmdtext,idx);
Thanks for any support given.