User contributions for Habi
Jump to navigation
Jump to search
6 September 2024
- 04:5904:59, 6 September 2024 diff hist +717 N LookAtPlayer Created page with "{{Welcome| desc=The function sets the angle of the npc to that of the specified player, making the npc face the player.| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::playerid : The ID of the player the npc will face.</poem>| example=<source lang="lua"> function OnPlayerText(playerid, message) { if(message=="lookAtMe") { if(GetDistanceFromMeToPoint(GetPlayerPos(playerid))<100.0) { LookAtPlayer(playerid); } } } </source>| relfuncs=*..."
- 04:4804:48, 6 September 2024 diff hist −1 GetMyID No edit summary current
- 04:4804:48, 6 September 2024 diff hist +8 GetMyID No edit summary
- 04:4804:48, 6 September 2024 diff hist +7 GetMyID No edit summary
- 04:4804:48, 6 September 2024 diff hist 0 SetMyHealth No edit summary current
- 04:4704:47, 6 September 2024 diff hist −2 Suicide No edit summary current
- 04:4704:47, 6 September 2024 diff hist 0 Suicide No edit summary
- 04:4704:47, 6 September 2024 diff hist −2 GetMyHealth No edit summary current
- 04:4404:44, 6 September 2024 diff hist −1 GetMyHealth No edit summary
- 04:4304:43, 6 September 2024 diff hist 0 GetMyHealth No edit summary
- 04:4204:42, 6 September 2024 diff hist +1 GetMyHealth No edit summary
- 04:4104:41, 6 September 2024 diff hist −1 GetMyHealth No edit summary
- 04:4004:40, 6 September 2024 diff hist −18 GetMyHealth No edit summary
- 04:3904:39, 6 September 2024 diff hist +872 N GetMyHealth Created page with "{{Welcome| desc=This function returns the current health of the npc as an integer.| params=<syntaxhighlight lang="lua"> ()</syntaxhighlight> <poem>::NoParams</poem>| example= <poem> Possible implementation: The following npc uses a timer and send chat 'i need medic' when it's health goes down to 25. </poem> <source lang="lua"> timerid<-null; function OnNPCSpawn() { if(!timerid) //precaution for double timers { SetTimer("CheckHealth",10000,1); } } function Check..."
- 04:2804:28, 6 September 2024 diff hist 0 SetMyHealth No edit summary
- 04:2704:27, 6 September 2024 diff hist +891 N SetMyHealth Created page with "{{Welcome| desc=This function sets the npc's health to the specified value. If the health is set to 0, the npc will commit suicide.| params=<syntaxhighlight lang="lua"> (newHealth)</syntaxhighlight> <poem>::newHealth : An integer value representing the new health level to set.</poem>| example=<source lang="lua"> The following code possibly decrease npc's health by 5 when 'a player goes near it and says "boo" '. The npc also sends chat 'poor me' after decreasing health. f..."
13 March 2024
- 13:1613:16, 13 March 2024 diff hist +39 SendInCarSyncDataEx No edit summary current
1 March 2024
- 14:3714:37, 1 March 2024 diff hist +99 OnNPCExitVehicle No edit summary current
29 February 2024
- 18:0418:04, 29 February 2024 diff hist −16 V1 8 beta release notes No edit summary current
- 18:0318:03, 29 February 2024 diff hist −13 V1 8 beta release notes No edit summary
- 18:0218:02, 29 February 2024 diff hist +4 V1 8 beta release notes No edit summary
- 18:0018:00, 29 February 2024 diff hist +18 V1 8 beta release notes No edit summary
- 17:5917:59, 29 February 2024 diff hist +3 Main Page No edit summary
- 17:5817:58, 29 February 2024 diff hist +37 V1 8 beta release notes →Downloads
- 17:2917:29, 29 February 2024 diff hist +15 V1 8 beta release notes →Fixed in Patch1 2024/2/29
- 17:2817:28, 29 February 2024 diff hist +178 V1 8 beta release notes No edit summary
- 07:1607:16, 29 February 2024 diff hist +1 .rec file 1005 →class choose data(2 bytes) current
- 07:1507:15, 29 February 2024 diff hist +194 .rec file 1005 No edit summary
- 06:4506:45, 29 February 2024 diff hist −357 Main Page No edit summary
17 February 2024
- 09:4509:45, 17 February 2024 diff hist 0 Main Page No edit summary
- 09:4409:44, 17 February 2024 diff hist −9 Template:V1 8 beta No edit summary
- 09:2809:28, 17 February 2024 diff hist +183 V1 8 beta release notes →Downloads
- 09:2109:21, 17 February 2024 diff hist +1,340 V1 8 beta release notes No edit summary
- 09:0909:09, 17 February 2024 diff hist 0 Main Page No edit summary
- 09:0809:08, 17 February 2024 diff hist +180 Main Page No edit summary
12 February 2024
- 15:0915:09, 12 February 2024 diff hist +2 ConnectMultipleNpcs No edit summary
- 15:0815:08, 12 February 2024 diff hist +313 ConnectMultipleNpcs No edit summary
11 February 2024
- 16:1516:15, 11 February 2024 diff hist +6 SendShotInfo No edit summary current
- 16:1516:15, 11 February 2024 diff hist +17 SendShotInfo No edit summary
- 16:1416:14, 11 February 2024 diff hist +2 SendShotInfo No edit summary
- 16:1316:13, 11 February 2024 diff hist +1 SendShotInfo No edit summary
- 16:1316:13, 11 February 2024 diff hist +8 SendShotInfo No edit summary
- 16:1216:12, 11 February 2024 diff hist +39 SendShotInfo No edit summary
- 16:1016:10, 11 February 2024 diff hist +280 SendShotInfo No edit summary
- 16:0716:07, 11 February 2024 diff hist +82 SendShotInfo No edit summary
- 16:0516:05, 11 February 2024 diff hist +126 SendShotInfo No edit summary
8 February 2024
- 17:5917:59, 8 February 2024 diff hist 0 SendShotInfo No edit summary
- 17:5117:51, 8 February 2024 diff hist +7 SendShotInfo No edit summary
- 17:4917:49, 8 February 2024 diff hist +12 SendShotInfo No edit summary
- 17:4817:48, 8 February 2024 diff hist +197 SendShotInfo No edit summary