23.05.2014, 14:15
I guess your script having a bug in it.. when you buy a car, it creates a new car but its messed up with the car id..
pawn Код:
for(new i=0;i<MAX_VEHICLE;i++)
{
if(VehicleInfo[i][EVOwner] == playerid && VehicleInfo[i][EVType] == EVehicleType_Owned)
{
// what ever you want here
// this loop checks if you are the owner of the car or not.
}
}

