User contributions for Habi
Jump to navigation
Jump to search
25 May 2023
- 08:1508:15, 25 May 2023 diff hist +97 OnNPCClassSelect No edit summary
- 08:1208:12, 25 May 2023 diff hist −11 OnNPCClassSelect No edit summary
24 May 2023
- 16:4716:47, 24 May 2023 diff hist +36 Main Page No edit summary
- 16:4616:46, 24 May 2023 diff hist +10 OnNPCClassSelect No edit summary
- 16:4516:45, 24 May 2023 diff hist +27 OnNPCClassSelect No edit summary
- 16:4216:42, 24 May 2023 diff hist +239 RequestSpawn No edit summary
- 16:4116:41, 24 May 2023 diff hist +1 OnNPCClassSelect No edit summary
- 16:4016:40, 24 May 2023 diff hist +110 OnNPCClassSelect No edit summary
- 16:3916:39, 24 May 2023 diff hist +1 RequestSpawn No edit summary
- 16:3816:38, 24 May 2023 diff hist +492 N RequestSpawn Created page with "{{Welcome| desc=This will send a request to server for spawning in the currently selected class.| params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight> example=<source lang="lua"> function OnNPCClassSelect() { if(GetPlayerTeam(GetMyID())==2) RequestSpawn(); return 1 } </source>| note= Inside the function, use Team, color, position to check if the class matches as it is not possible to obtain the class id directly.| relfuncs=*RequestClass *OnNP..."
- 16:1916:19, 24 May 2023 diff hist +604 N RequestClass Created page with "{{Welcome| desc=This will send a request to server to show class for spawning.| params=<syntaxhighlight lang="lua">(relativeclass=CLASS_CURRENT)</syntaxhighlight> <poem>::relativeclass : Optional parameter. Values can be CLASS_PREVIOUS, CLASS_NEXT. If former value is used, then the server will show previous class. If latter value is used, then server will show next class. If paramter omitted or CLASS_CURRENT is used, the server will show the current class( before npc was..."
- 16:0316:03, 24 May 2023 diff hist +869 N OnNPCClassSelect Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.6 beta 4 patch2 and will not work on previous versions. </poem> {{Welcome| desc=This function is called when server grants a class to NPC to select for spawning. This function is called not when npc selects a class, but rather when a class is presented to npc.| params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight>| retvals=Return true if RequestSpawn..."
- 15:2815:28, 24 May 2023 diff hist +33 Main Page No edit summary
8 May 2023
- 18:3718:37, 8 May 2023 diff hist +184 GetAmmoOfMyWeapon No edit summary current
- 18:3718:37, 8 May 2023 diff hist +184 GetAvailableWeapons No edit summary current
- 18:3718:37, 8 May 2023 diff hist +183 SelectWeapon No edit summary current
- 18:3518:35, 8 May 2023 diff hist +411 N GetAmmoOfMyWeapon Created page with "{{Welcome| desc=Returns the ammo of the weapon specified| params=<source lang="lua">(weaponid)</source> ::weaponid : The ID of the weapon possessed by npc whose ammo is to be determined.| retvals=If the weapon is possessed by npc, then this returns the available ammo of the weapon provided. Otherwise returns 0. Also returns 0 for fists/brass knuckles.| relfuncs= *SelectWeapon *GetAvailableWeapons| }}"
- 18:3018:30, 8 May 2023 diff hist +397 N GetAvailableWeapons Created page with "{{Welcome|desc=Returns all the weapons possessed by npc as an array| params=<source lang="lua">NoParams</source>| retvals=an array whose values are the IDs of the weapons possessed by the npc. The weaponid 0 (fists) is excluded.| relfuncs= *SelectWeapon *GetAmmoOfMyWeapon| example= <source lang="lua"> local a = GetAvailableWeapons(); SendChat("I have "+ a.len()+" weapons.");</source> }}"
- 18:2618:26, 8 May 2023 diff hist +28 SelectWeapon No edit summary
- 18:2618:26, 8 May 2023 diff hist +283 N SelectWeapon Created page with "{{Welcome|desc=Sets the npc's current weapon and sends a sync packet if on foot.| params=(weaponid) <poem> ::weaponid : The Id of the weapon </poem>| retvals=true on success, false if the weapon is not possessed by npc.| relfuncs= *GetAvailableWeapons *GetAmmoOfMyWeapon |}}"
- 18:2118:21, 8 May 2023 diff hist +81 Main Page No edit summary
7 May 2023
- 18:4618:46, 7 May 2023 diff hist +12 RFC No edit summary current
- 18:4618:46, 7 May 2023 diff hist −6 RFC No edit summary
- 18:4418:44, 7 May 2023 diff hist +175 RFC No edit summary
- 18:3918:39, 7 May 2023 diff hist +36 V1 6 beta4 release notes →Downloads
- 18:3718:37, 7 May 2023 diff hist +129 V1 6 beta4 release notes No edit summary
- 17:5417:54, 7 May 2023 diff hist +15 Z-finder →Links current
- 17:5317:53, 7 May 2023 diff hist +345 Z-finder No edit summary
6 May 2023
- 05:5805:58, 6 May 2023 diff hist −39 Z-finder No edit summary
- 05:5805:58, 6 May 2023 diff hist +61 Z-finder No edit summary
- 05:5505:55, 6 May 2023 diff hist +89 Z-finder →Links
- 05:4205:42, 6 May 2023 diff hist +125 Z-finder No edit summary
- 05:3705:37, 6 May 2023 diff hist +1,142 N Z-finder Created page with "This library is used to get the ground z co-ordinate for the npc to walk. It relies on 16 MB file default.map ( vice city map ). z-finder is ported from [https://forum.vc-mp.org/index.php?topic=9006 Miami-Scale] plugin of server. ==Functions== {| class="wikitable" ! Return value !! Function Name !! Parameter !! Description |- | true on success || MiamiScale_Init || [string] mapfile || The full path to mapfile as parameter |- | true or null || MiamiScale_Unload || - || |..."
- 05:3105:31, 6 May 2023 diff hist +31 Main Page No edit summary
4 May 2023
- 23:1323:13, 4 May 2023 diff hist 0 Main Page No edit summary
- 23:1223:12, 4 May 2023 diff hist 0 Main Page No edit summary
- 23:1123:11, 4 May 2023 diff hist −5 Main Page No edit summary
- 23:0923:09, 4 May 2023 diff hist +472 V1 6 beta4 release notes No edit summary
- 23:0023:00, 4 May 2023 diff hist −6 V1 6 beta4 release notes →Downloads
- 22:5822:58, 4 May 2023 diff hist +1,940 N V1 6 beta4 release notes Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #1affaa; padding: 1em;"> '''Version 1.6 beta4''' Release date: 05.May.2023 </poem> ==What is new?== * ==Plugins included with downloads== *LibAction *LibRPC ==Downloads== {| class="wikitable" |- ! Operating system ! bit ! version ! Link ! Size |- | Windows | 32 and 64 | rel006 | [https://sourceforge.net/projects/npc-for-vcmp/files/npc_vcmp_rel006_windows_v1.6-beta-4.zip..."
- 15:2015:20, 4 May 2023 diff hist −2 FireProjectile No edit summary current
- 15:1915:19, 4 May 2023 diff hist +1 FireProjectile No edit summary
- 15:1915:19, 4 May 2023 diff hist +4 FireProjectile No edit summary
- 15:1715:17, 4 May 2023 diff hist +15 Template:Projectiles No edit summary current
- 15:1715:17, 4 May 2023 diff hist +61 Template:Projectiles No edit summary
- 13:4013:40, 4 May 2023 diff hist +35 Template:Projectiles No edit summary
- 13:3813:38, 4 May 2023 diff hist +419 Template:Projectiles No edit summary
- 13:3113:31, 4 May 2023 diff hist −1 Template:Projectiles No edit summary Tag: Manual revert
- 13:3013:30, 4 May 2023 diff hist +1 Template:Projectiles No edit summary Tag: Reverted
- 13:3013:30, 4 May 2023 diff hist −9 Template:Projectiles No edit summary