Problem| error 033: array must be indexed (variable "in")
#1

Well im building a script but im not really big scripter
so:
Код:
   if(!strcmp(cmdtext, "/exit", true))
   {
	new in[128];
	in = GetPlayerInterior(playerid);
	if(in == 17)
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerPos(playerid, 2197.6472,1452.2587,11.0547);
	}
	if(in == 3)
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerPos(playerid, 2197.7957,1467.3552,11.0547);
	}
             if(in == 12)
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerPos(playerid, 2177.5181,1450.8146,10.8203);
	}
	if(in == 0)
	{
	    SendClientMessage(playerid, Error, "You are not in Building!");
	}
    }
Error:
Код:
error 033: array must be indexed (variable "in")
error 033: array must be indexed (variable "in")
error 033: array must be indexed (variable "in")
error 033: array must be indexed (variable "in")
HELP!!!!
Reply


Messages In This Thread
Problem| error 033: array must be indexed (variable "in") - by Yuvalino - 05.12.2010, 08:22
Re: Problem| error 033: array must be indexed (variable "in") - by [03]Garsino - 05.12.2010, 08:29
Re: Problem| error 033: array must be indexed (variable "in") - by Yuvalino - 05.12.2010, 08:30
Re: Problem| error 033: array must be indexed (variable "in") - by Yuvalino - 05.12.2010, 08:32
Re: Problem| error 033: array must be indexed (variable "in") - by fangoth1 - 05.12.2010, 09:04

Forum Jump:


Users browsing this thread: 1 Guest(s)