error 006: must be assigned to an array
#1

public OnPlayerText(playerid, text[])
{
for(new i = 0; i != 126; i++)
{
if(text[i] == "a") text[i] = "4"
if(text[i] == "e") text[i] = "3"
if(text[i] == "l") text[i] = "1"
if(text[i] == "o") text[i] = "0"
if(text[i] == "s") text[i] = "5"
if(text[i] == "t") text[i] = "7"
}
SendPlayerMessageToAll(playerid,text)
return 0;
}
Why won't this code work, btw its a 1337 translator!
Reply


Messages In This Thread
error 006: must be assigned to an array - by ruarai - 26.09.2009, 02:30
Re: error 006: must be assigned to an array - by [HiC]TheKiller - 26.09.2009, 02:58
Re: error 006: must be assigned to an array - by ruarai - 27.09.2009, 22:28
Re: error 006: must be assigned to an array - by Silent314 - 27.09.2009, 22:54
Re: error 006: must be assigned to an array - by Jefff - 27.09.2009, 23:14
Re: error 006: must be assigned to an array - by ruarai - 28.09.2009, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)