Skip to content

Commit f454b91

Browse files
Add missing functions setPlayerName and Weapon funcs
1 parent 4e0649f commit f454b91

17 files changed

+66
-2
lines changed

functions/Player/setPlayerName.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/setPlayerName
2+
server:
3+
name: setPlayerName
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/createWeapon.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/createWeapon
2+
client:
3+
name: createWeapon
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/fireWeapon.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/fireWeapon
2+
client:
3+
name: fireWeapon
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/getWeaponAmmo.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/getWeaponAmmo
2+
client:
3+
name: getWeaponAmmo
4+
description: THIS FUNCTION NEEDS DOCUMENTATION
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/getWeaponClipAmmo
2+
client:
3+
name: getWeaponClipAmmo
4+
description: THIS FUNCTION NEEDS DOCUMENTATION
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/getWeaponFiringRate
2+
client:
3+
name: getWeaponFiringRate
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/getWeaponFlags.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/getWeaponFlags
2+
client:
3+
name: getWeaponFlags
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/getWeaponOwner.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/getWeaponOwner
2+
client:
3+
name: getWeaponOwner
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/getWeaponState.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/getWeaponState
2+
client:
3+
name: getWeaponState
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/getWeaponTarget.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/getWeaponTarget
2+
client:
3+
name: getWeaponTarget
4+
description: THIS FUNCTION NEEDS DOCUMENTATION
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/resetWeaponFiringRate
2+
client:
3+
name: resetWeaponFiringRate
4+
description: THIS FUNCTION NEEDS DOCUMENTATION
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/setWeaponClipAmmo
2+
client:
3+
name: setWeaponClipAmmo
4+
description: THIS FUNCTION NEEDS DOCUMENTATION
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/setWeaponFiringRate
2+
client:
3+
name: setWeaponFiringRate
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/setWeaponFlags.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/setWeaponFlags
2+
client:
3+
name: setWeaponFlags
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/setWeaponState.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/setWeaponState
2+
client:
3+
name: setWeaponState
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

functions/Weapon/setWeaponTarget.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/setWeaponTarget
2+
client:
3+
name: setWeaponTarget
4+
description: THIS FUNCTION NEEDS DOCUMENTATION

migrate/oldwiki/copy_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def copy_files(source_dir, target_dir):
1717
dest_path = os.path.join(target_dir, rel_path)
1818
# Ignore if the destination file already exists
1919
if (OVERRIDE_EXISTING == False) and os.path.exists(dest_path):
20-
print(f"Skipping {dest_path} as it already exists.")
20+
# print(f"Skipping {dest_path} as it already exists.")
2121
continue
2222
os.makedirs(os.path.dirname(dest_path), exist_ok=True)
23-
# print(f"Copying {src_path} to {dest_path}")
23+
print(f"Copying {src_path} to {dest_path}")
2424
with open(src_path, 'r', encoding='utf-8') as src_file:
2525
with open(dest_path, 'w', encoding='utf-8') as dest_file:
2626
dest_file.write(src_file.read())

0 commit comments

Comments
 (0)