18.10.2009, 12:57
Aight guys
I got this on top:
Then - at OnPlayerConnect:
And as a command -
Why do I get this error?
error 033: array must be indexed (variable "motd")
I got this on top:
Код:
new motd[128];
Код:
motd = "|Server MOTD:: SA:MP 0.3 is here and it pwns.|"; SendClientMessage(playerid, COLOR_GREEN, motd);
Код:
if(strcmp(cmdtext, "/setmotd", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
if(!cmdtext[8])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /setmotd [message]");
motd = cmdtext[8];
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"You are not an RCON admin!");
}
}
error 033: array must be indexed (variable "motd")


if they are the same size