Skip to content

Commit

Permalink
Update vehicle.pwn (Southclaws#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolor4do authored Jun 10, 2021
1 parent b8dcd21 commit 72ba3b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gamemodes/sss/core/vehicle/vehicle.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,9 @@ HideVehicleUI(playerid)

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(IsItemTypeCarry(ItemType:GetItemType(GetPlayerItem(playerid))))
PlayerDropItem(playerid);

if(!ispassenger)
veh_Entering[playerid] = vehicleid;

Expand Down

0 comments on commit 72ba3b9

Please sign in to comment.