what's wrong?
#3

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(strfind(old,yes,true) == -1) // line 8312
            {
                yes[playerid] = old;
                GameTextForPlayer(playerid,yes[playerid],2000,1);
            }
You cannot compare strings with if.
Reply


Messages In This Thread
what's wrong? - by mineralo - 11.03.2012, 11:34
Re: what's wrong? - by mineralo - 11.03.2012, 13:56
Re: what's wrong? - by eesh - 11.03.2012, 14:01
Re: what's wrong? - by aco_SRBIJA - 11.03.2012, 14:06
Re: what's wrong? - by mineralo - 11.03.2012, 14:39
Re: what's wrong? - by eesh - 11.03.2012, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)