11.03.2012, 11:34
pawn Код:
new old[256],yes[MAX_PLAYERS][256];
GetPlayer2DZone(playerid,old,sizeof(old));
if(ShitInfo[playerid][pBank] == 1)
{
format(old,sizeof(old),"LS Bank");
}
if(ShitInfo[playerid][pJail] == 1)
{
format(old,sizeof(old),"Jail");
}
if(ShitInfo[playerid][pAmmu] == 1)
{
format(old,sizeof(old),"Ammu-Nation");
}
if(ShitInfo[playerid][pCity] == 1)
{
format(old,sizeof(old),"Job House");
}
if(old != yes[playerid]) // line 8312
{
yes[playerid] = old;
GameTextForPlayer(playerid,yes[playerid],2000,1);
}
Код:
D:\Programs\proecte ne terminate\samp 0.3d rc 2 server\gamemodes\rpg.pwn(8312) : error 033: array must be indexed (variable "old")