All public logs

Jump to navigation Jump to search

Combined display of all available logs of NPC for VCMP 0.4 Servers. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 04:39, 6 September 2024 Habi talk contribs created page 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...")