string comparisson
#2

pawn Код:
new platesnow[32];
for(new x = 0; x < MAX_VEHICLES; x++) {
        if(IsValidVehicle(x)) {
            if(!strcmp(MyPlates[x],platesnow)) return Msg(playerid,COLOR_RED,"These plates already exist");
        }
    }
Reply


Messages In This Thread
string comparisson - by Squirrel - 14.01.2016, 21:04
Re: string comparisson - by Eth - 14.01.2016, 21:11
Re: string comparisson - by Squirrel - 14.01.2016, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)