Dealership car bug ...
#1

So i'm having this bug..

When a player enter on dealership an DsVehicle[playerid] = CreateVehicle is created...


The problem is that when the player done , and he buy the car... the next player when enter on ds and choose to not buy , is gonna destroy the car personal of player frist...

How can i make to don't get the wrong ids ?..
Reply
#2

you can get id of this car:

Код:
new car = CreateVehicle..
PutPlayerInVehicle...
DsVehicle[playerid] = GetPlayerVehicleID(playerid);
and for destroy vehicle:

Код:
DestoryVehicle(DsVehicle[playerid]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)