Array must be indexed (variable "pName")
#6

Okay. I got this now:
pawn Код:
for(new i; i < MAX_VEHICLES; i++)
    {
        if(!strcmp(AVehicleData[i][Owner],pName))
        {
            DestroyVehicle(i);
            continue;
        }
    }
Would this delete all vehicles that have the same owner?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)