13.05.2012, 17:59
But how does this explain they can get mixed up?
i often destroy one and create another and so on, is there any way to prevent them from mixing up?
i use for example:
pInfo[i][PlayerCar] = CreateVehicle(pInfo[i][CarModel], pInfo[i][CarX], pInfo[i][CarY], pInfo[i][CarZ], pInfo[i][AngX], pInf [i][CarColor1], pInfo[i][CarColor2], 60);
and define them to players, that they are only accesable for them, at first everything works fine,
but after a few times destroying and creating the script mixes them up
i often destroy one and create another and so on, is there any way to prevent them from mixing up?
i use for example:
pInfo[i][PlayerCar] = CreateVehicle(pInfo[i][CarModel], pInfo[i][CarX], pInfo[i][CarY], pInfo[i][CarZ], pInfo[i][AngX], pInf [i][CarColor1], pInfo[i][CarColor2], 60);
and define them to players, that they are only accesable for them, at first everything works fine,
but after a few times destroying and creating the script mixes them up