User contributions for Habi
Jump to navigation
Jump to search
29 October 2024
- 17:3417:34, 29 October 2024 diff hist +10 IsPlaybackPaused No edit summary current
- 17:3417:34, 29 October 2024 diff hist +460 N IsPlaybackPaused Created page with "{{v1_8_beta}} {{Welcome|desc=This function tells whether any playback is in paused state.| params=<source>NoParams</source>| example=<source lang="lua"> if(IsPlaybackRunning()) { if(IsPlaybackPaused()) print("The playback is paused\n"); }| retvals=true, if playback is paused and false otherwise(playback is not running or running but not paused)| note=This function returns false when playback is not running| relfuncs=*IsPlaybackRunning }}"
- 17:2917:29, 29 October 2024 diff hist +339 N IsPlaybackRunning Created page with "{{v1_8_beta}} {{Welcome|desc=This function is used to determine if the playback is running| params=<source>NoParams</source>| retvals=false, if playback is not running or paused. true otherwise| relfuncs=*IsPlaybackPaused *StartRecordingPlayback *StopRecordingPlayback *PauseRecordingPlayback *ResumeRecordingPlayback}}" current
- 17:2517:25, 29 October 2024 diff hist +236 N GetMyColor Created page with "{{v1_8_beta}} {{Welcome|desc=This function is used to find the color(r,g,b) of NPC itself.| params=<source>NoParams</source>| retvals=This function returns a table with keys <source inline>r,g,b</source>.| relfuncs=*GetPlayerColor}}" current
- 17:2417:24, 29 October 2024 diff hist −1 GetPlayerColor No edit summary current
- 17:2317:23, 29 October 2024 diff hist +26 GetPlayerColor No edit summary
- 17:2317:23, 29 October 2024 diff hist +396 N GetPlayerColor Created page with "{{v1_8_beta}} {{Welcome|desc=This function is used to find the color(r,g,b) of another player(the marker in map as well as name tag).| params=<source>(playerid)</source> <poem>::playerid : The ID of the target player whose color is to be found. </poem>| retvals=This function returns a table with keys <source inline>r,g,b</source> on success and null on failure(target player does not exist)|}}"
- 17:1717:17, 29 October 2024 diff hist +17 SendPrivMsg No edit summary current
- 17:1617:16, 29 October 2024 diff hist +453 N SendPrivMsg Created page with "{{v1_8_beta}} {{Welcome|desc=This function sends a private message to another player.| params=<source>(playerid, message)</source> <poem> ::playerid : The ID of the target player to whom private message is to be send. ::message : The message to send. </poem>| example=<source> function OnPlayerStreamIn(playerid) { SendPrivMsg(playerid, "Come near me"); } </source>| retvals=true on success, false on failure(invalid playerid)| relfuncs=*SendChat}}"
- 17:1017:10, 29 October 2024 diff hist +26 GetMyArmour No edit summary current
- 17:0917:09, 29 October 2024 diff hist +279 N GetMyArmour Created page with "{{v1_8_beta}} {{Welcome|desc=This function returns the Armour of the NPC|params=<source>NoParams</source>| example=<source> if(AmISpawned()) { print("I have armour "+GetMyArmour()+"\n"); } </source>| retvals=The Armour of npc.| relfuncs=*GetPlayerArmour *GetMyHealth}}"
- 17:0617:06, 29 October 2024 diff hist −6 GetMyTeam No edit summary current
- 17:0617:06, 29 October 2024 diff hist +271 N GetMyTeam Created page with "{{v1_8_beta}} {{Welcome|desc=This function will return the team ID (0-255) of NPC.| params=<source inline>NoParams</source>|example=<source>print("My Team ID is "+ GetMyTeam()+ "\n");</source>| retvals=The Team ID of the npc|relfuncs= *GetPlayerTeam *GetMySkin|}}"
- 17:0317:03, 29 October 2024 diff hist +2 GetMySkin No edit summary current
- 17:0317:03, 29 October 2024 diff hist −7 GetMySkin No edit summary
- 17:0317:03, 29 October 2024 diff hist +15 GetMySkin No edit summary
- 17:0217:02, 29 October 2024 diff hist +212 N GetMySkin Created page with "{{v1_8_beta}} {{Welcome|Returns the skin ID of the NPC.| params=<source>NoParams</source>| example=<source inline>local myskin=GetMySkin()</source>| retvals=The Skin ID of the NPC.| relfuncs=*GetPlayerSkin|}}"
- 16:5816:58, 29 October 2024 diff hist +1 LookAtPos No edit summary current
- 16:5816:58, 29 October 2024 diff hist +452 N LookAtPos Created page with "{{Welcome| desc=This function sets the angle of npc such that it looks at the position given| params=<syntaxhighlight lang="lua"> pos</syntaxhighlight> <poem>::pos : The Vector position to which npc must look</poem>| example= The following code makes to look at player with ID 0. <source lang="lua"> LookAtPos(GetPlayerPos(0))</source>| relfuncs=*LookAtPlayer| retvals=true on success and false on failure (npc not spawned or npc is in vehicle.| }}"
25 October 2024
- 16:1716:17, 25 October 2024 diff hist +4 Main Page No edit summary current
- 16:1616:16, 25 October 2024 diff hist +149 V1 8 beta4 release notes No edit summary current
- 16:1416:14, 25 October 2024 diff hist +173 V1 8 beta4 release notes →Downloads
- 16:0116:01, 25 October 2024 diff hist −16 V1 8 beta4 release notes →Downloads
- 16:0116:01, 25 October 2024 diff hist +1,584 V1 8 beta4 release notes No edit summary
23 October 2024
- 18:5818:58, 23 October 2024 diff hist +19 Field No edit summary current
- 18:4918:49, 23 October 2024 diff hist +33 Field No edit summary
- 10:2710:27, 23 October 2024 diff hist +40 Field No edit summary
- 10:2610:26, 23 October 2024 diff hist +24 Field No edit summary
- 10:2010:20, 23 October 2024 diff hist +116 FireBullet No edit summary current
- 10:1810:18, 23 October 2024 diff hist +57 FireBullet No edit summary
- 10:1610:16, 23 October 2024 diff hist +245 FireBullet No edit summary
- 10:1210:12, 23 October 2024 diff hist −1,568 V1 8 beta4 release notes →Downloads
- 10:1110:11, 23 October 2024 diff hist +4 V1 8 beta4 release notes No edit summary
- 10:1010:10, 23 October 2024 diff hist +2,796 N V1 8 beta4 release notes Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #ffd789; padding: 1em;"> '''Version 1.8 beta 4''' Release date : 24.October.2024 </poem> *Fixed Vehicle Driver not reset(GetVehicleDriver) when a player as driver exit the vehicle. *Added function FireBullet reenabling npc to shoot things. *API is now 1.8 *Fixed npc not able to get into vehicle as driver when player is inside vehicle as passenger. *Fixed npc not closing doors after exiting vehicle. *Npcclient can..."
22 October 2024
- 16:2316:23, 22 October 2024 diff hist −6 Main Page No edit summary
13 October 2024
- 01:0701:07, 13 October 2024 diff hist +13 OnStoreDownloadComplete No edit summary current
- 01:0601:06, 13 October 2024 diff hist +619 N OnStoreDownloadComplete Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.8 beta 4 and will not work on previous versions. </poem> {{Welcome|desc=This function is called after OnNPCConnect when *npc finishes downloading necessary store files *all store-files were already up to date *npc was not called with options to download store| params=<source>NoParams</source>| example=<source lang=lua> function OnStoreDownloadComplete() { p..."
- 00:5700:57, 13 October 2024 diff hist +485 N IsStoreDownloading Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.8 beta 4 and will not work on previous versions. </poem> {{Welcome|desc=Tells if a store download is in progress.| params=<source>NoParams</source>| retvals=true, if a store download is in progress. false, if it has completed or not started. Also null, if npc was not called with options to download store.| relfuncs= *OnStoreDownloadComplete *GetStoreLoc..." current
- 00:5300:53, 13 October 2024 diff hist +171 GetStoreURL No edit summary current
- 00:5100:51, 13 October 2024 diff hist +5 GetStoreURL No edit summary
- 00:5100:51, 13 October 2024 diff hist +1 GetStoreURL No edit summary
- 00:5100:51, 13 October 2024 diff hist +544 N GetStoreURL Created page with "{{Welcome|desc=Gets the URL of the store contents of server, if server has configured for http-downloads.| params=<source>NoParams</source| example=<source> function OnNPCConnect(id) { print(GetStoreURL()); }</source> Output: <source inline>http://18.132.205.100/store/</source> retvals=Returns the Store-URL configured by server. Returns empty string if server has not configured http-downloads. For rel006, rel004 servers, it always returns empty string.| relfuncs= *GetS..."
- 00:4100:41, 13 October 2024 diff hist 0 m GetStoreLocation Habi moved page GetStoreURL to GetStoreLocation without leaving a redirect current
- 00:4000:40, 13 October 2024 diff hist +71 GetStoreLocation No edit summary
- 00:3900:39, 13 October 2024 diff hist +307 GetStoreLocation No edit summary
- 00:3100:31, 13 October 2024 diff hist +526 GetStoreLocation No edit summary
- 00:2900:29, 13 October 2024 diff hist +1 N GetStoreLocation Created page with "."
11 October 2024
- 22:0322:03, 11 October 2024 diff hist 0 Main Page No edit summary
- 22:0222:02, 11 October 2024 diff hist +18 Main Page No edit summary
- 01:5701:57, 11 October 2024 diff hist +30 Main Page No edit summary