0.3a Health Problem

Započeo dinkO14
19. Okt. 2009. Zaključano
1,633
pregleda
7
postova
dinkO14
5
Underboss
19. Okt. 2009.
Imam maleni problem otkako sam prebacio mod na 0.3a server(rekompajliro sam ga s includima od 0.3).
Uvijek se spawnam sa 20healtha, neovisno o tome koliko je namjestno da se spawnam, uvijek se spawnam sa 20healtha.
U cemu moze biti problem i kako ga rijesit?
Deleted User
Obrisan korisnik
19. Okt. 2009.
Important note: Health must be an integer not a float, you can get the integer from a float using floatround. Useful when using GetPlayerHealth, which returns a float.

Proćitaj to i znat ćeš.

Pozdrav,
  Correlli
Deleted User
Obrisan korisnik
19. Okt. 2009.
Important note: Health must be an integer not a float, you can get the integer from a float using floatround. Useful when using GetPlayerHealth, which returns a float.

Proćitaj to i znat ćeš.

Pozdrav,
   Correlli

Quote
Svidja mi se ovo, samo sjebali su SetPlayerHealth -.-

setplayerhealth ne moze vise dati float vrijednost, samo integer, al tu nije problem, vec je u tome sto getplayerhealth uzima float(a ne integer).
Sada morate svaki taj float koji uzmete sa getplayerhealth prebacit u integer i onda setplayerheatlth... inace ce te imat problema sa healthom na serveru...
Deleted User
Obrisan korisnik
19. Okt. 2009.
Important note: Health must be an integer not a float, you can get the integer from a float using floatround. Useful when using GetPlayerHealth, which returns a float.

Proćitaj to i znat ćeš.

Pozdrav,
  Correlli

Quote
Svidja mi se ovo, samo sjebali su SetPlayerHealth -.-

setplayerhealth ne moze vise dati float vrijednost, samo integer, al tu nije problem, vec je u tome sto getplayerhealth uzima float(a ne integer).
Sada morate svaki taj float koji uzmete sa getplayerhealth prebacit u integer i onda setplayerheatlth... inace ce te imat problema sa healthom na serveru...
Deleted User
Obrisan korisnik
20. Okt. 2009.
Important note: Health must be an integer not a float, you can get the integer from a float using floatround. Useful when using GetPlayerHealth, which returns a float.

Proćitaj to i znat ćeš.

Pozdrav,
   Correlli

hehe mene citiras  😛
Quote
Svidja mi se ovo, samo sjebali su SetPlayerHealth -.-

setplayerhealth ne moze vise dati float vrijednost, samo integer, al tu nije problem, vec je u tome sto getplayerhealth uzima float(a ne integer).
Sada morate svaki taj float koji uzmete sa getplayerhealth prebacit u integer i onda setplayerheatlth... inace ce te imat problema sa healthom na serveru...


a stas xD
Deleted User
Obrisan korisnik
20. Okt. 2009.
Panda ne spamaj da nemoram opominjat  😁
dinkO14
5
Underboss
20. Okt. 2009.
Uredu,hvala

moze LOCK

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha