• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[1.4.2] Player set HP - talkactions for GOD.

OTcreator

Active Member
Joined
Feb 14, 2022
Messages
426
Solutions
1
Reaction score
44
Hi,
It is possible to create a talkaction for the administration, when I use for example . /bot, PLAYER NICK will set him that he has for example only 5 hp?
 
Solution
player:setHealth() if you want his current health of the max to be 5
player:setMaxHealth(5) if you want his max hp to be 5 which is not reliable but this is how you do it
player:setHealth() if you want his current health of the max to be 5
player:setMaxHealth(5) if you want his max hp to be 5 which is not reliable but this is how you do it
 
Solution
Back
Top