string check dont work
#5

Quote:
Originally Posted by //exora
No, you have to do the loop before checking the gangname, it shouldn't even compile the way you did.
lol, it work, and i tested ingame.

// Edit: ok, my bad, i've scriptet in this forum, i was to lazy to copy my snippet

my code in my script:

pawn Код:
for(new i = 1; i < MAX_GANGS; i++)
    {
        if(strcmp(GangInfo[i][gangNames],tmp,true)==0)
        {
        SendClientMessage(playerid, rot, "This Gang already exists!");
        return 1;
        }
    }
and your code is the same
and these two doesn't work..
Reply


Messages In This Thread
string check dont work - by Headshot1108 - 16.03.2010, 15:34
Re: string check dont work - by woot - 16.03.2010, 15:36
Re: string check dont work - by Headshot1108 - 16.03.2010, 15:55
Re: string check dont work - by woot - 16.03.2010, 16:05
Re: string check dont work - by Headshot1108 - 16.03.2010, 16:09
Re: string check dont work - by Headshot1108 - 16.03.2010, 17:25
Re: string check dont work - by Jeffry - 16.03.2010, 17:29
Re: string check dont work - by Headshot1108 - 16.03.2010, 17:31
Re: string check dont work - by Jeffry - 16.03.2010, 17:57
Re: string check dont work - by Headshot1108 - 16.03.2010, 18:22

Forum Jump:


Users browsing this thread: 2 Guest(s)