Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrucznik committed Feb 25, 2024
1 parent 08d5384 commit 6f2a1af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gamemodes/modules/pojazdy/pojazdy.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,11 @@ IsCarOwner(playerid, vehicle, bool:kluczyki=false)
IsPlayerOwnFractionCar(playerid, vehicleID)
{
new vehicleUID = VehicleUID[vehicleID][vUID];
if(vehicleUID == 0)
{
return 0;
}

new lider = PlayerInfo[playerid][pLider];
new org = GetPlayerOrg(playerid);
new liderOwner = CarData[vehicleUID][c_OwnerType] == CAR_OWNER_FRACTION && \
Expand Down

0 comments on commit 6f2a1af

Please sign in to comment.