27.06.2015, 15:07
Change
to
Check AddStaticVehicle/AddStaticVehicleEx/CreateVehicle, they return an ID to identify the vehicle they created. GetPlayerVehicleID returns the ID given by those functions, not the Model ID. Use GetVehicleModel to get the Model ID.
Best regards.
pawn Код:
vehicle = GetPlayerVehicleID(playerid);
pawn Код:
vehicle = GetVehicleModel(GetPlayerVehicleID(playerid));
Best regards.
