GetPlayerHealth limit?
#1

How to bypass limit GetPlayerHealth?
PHP код:
new 
    
Float:hp;
GetPlayerHealth(playeridhp);
printf("HP: %.0f}"hp); 
The player's health and the value of the variable "hp":
Код HTML:
254 -> 254
255 -> 255
256 -> 0
257 -> 1
258 -> 2
Reply
#2

Код:
Important Notes:
Even though the health can be set to near infinite values on the server side, the individual clients will only report values up to 255. Anything higher will wrap around; 256 becomes 0, 257 becomes 1, etc.
Health is obtained rounded to integers: set 50.15, but get 50.0
Reply
#3

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
Код:
Important Notes:
Even though the health can be set to near infinite values on the server side, the individual clients will only report values up to 255. Anything higher will wrap around; 256 becomes 0, 257 becomes 1, etc.
Health is obtained rounded to integers: set 50.15, but get 50.0
It is possible to get around?
Reply
#4

Create your own health system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)