Something about car system.
#2

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.
        }
    }
Reply


Messages In This Thread
Something about car system. - by VictorCreed - 23.05.2014, 13:58
Re: Something about car system. - by Fred1993 - 23.05.2014, 14:15
Re: Something about car system. - by VictorCreed - 23.05.2014, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)