09.07.2012, 18:24
Hey, i am working on this carstore but whenever 2 players have bought a car the old car vanishes.
This is at the top of the script
further down in the public carspawner i made
So what am i doing wrong?
What i want here is if the player has a car already, that one is supposed to be replaced.
not others' cars.
This is at the top of the script
pawn Код:
new PVeh[ MAX_PLAYERS ];
pawn Код:
DestroyVehicle(PVeh[playerid]);
PVeh[playerid] = CreateVehicle(model, VehicleX, VehicleY, VehicleZ, VehicleAngle, -1, -1, -1);
What i want here is if the player has a car already, that one is supposed to be replaced.
not others' cars.