Skip to content

Commit

Permalink
generate_natives: Handle Cam type
Browse files Browse the repository at this point in the history
  • Loading branch information
pongo1231 committed Feb 15, 2025
1 parent 36fe2b0 commit 01fa5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_natives.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def parse_native(native_hash, native_data, _out):
if return_type == "BOOL":
target_type = "_b"
elif (return_type == "int" or return_type == "Entity" or return_type == "Ped" or return_type == "Vehicle" or return_type == "Object"
or return_type == "Hash" or return_type == "Pickup" or return_type == "Blip" or return_type == "Interior"):
or return_type == "Hash" or return_type == "Pickup" or return_type == "Blip" or return_type == "Interior" or return_type == "Cam"):
target_type = "_i"
elif return_type == "float":
target_type = "_f"
Expand Down

0 comments on commit 01fa5ea

Please sign in to comment.