i got error 033 pls help
#1

i want to make an admin chat only i got an error can someone help me?


C:\Program Files\Rockstar Games\script\gamemodes\gmd.pwn(1577) : error 033: array must be indexed (variable "text")

pawn Код:
dcmd_achat(playerid, params[])
{
if(AdminLevel [playerid] == 0) return SendClientMessage(playerid, RED, "You need to be an admin!"); // line 1577
new text[128];
if((params, "s",text)) return SendClientMessage(playerid, APINK, "Usage: /achat [Text]");
format(text,sizeof(text),""white"Admin "PINK"%s "white"| Text: "PINK"%s",GetName(playerid),params[0]);
foreach(Player, i)
if(AdminLevel [playerid] >1)
SendClientMessage(i,APINK,text);
return 1;
}
What i am doing wrong and please explain why?
Reply


Messages In This Thread
i got error 033 pls help - by hebron - 03.07.2013, 00:43
Re: i got error 033 pls help - by _Khaled_ - 03.07.2013, 01:30
Re: i got error 033 pls help - by hebron - 03.07.2013, 01:37

Forum Jump:


Users browsing this thread: 1 Guest(s)