Pomoc oko healtha

Započeo ouou
21. Apr. 2020.
504
pregleda
5
postova
Bep0.amx
3
Wheel Man
21. Apr. 2020.
Problem(error/warning): Ne radi kako treba
Pawno Code:
new Float:health;
if(issuerid !=INVALID_PLAYER_ID && weaponid == 31 && bodypart == 9) // M4
{
    lz_SetPlayerHealth(playerid, health -30.0);
PlayerPlaySound(issuerid,17802,0,0,0);
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): -
Slika/video ingame problema(obavezno ako je ingame problem): Kada upucam lika u glavu on odmah umre a ne da mu skine 30 hp.
ivan221
5
Made Man
21. Apr. 2020.
if(issuerid !=INVALID_PLAYER_ID && weaponid == 31 && bodypart == 9) // M4
{
        new Float:health;
        GetPlayerHealth(playerid, health);
    lz_SetPlayerHealth(playerid, health-30.0);
PlayerPlaySound(issuerid,17802,0,0,0);
}
Agency
5
Underboss
21. Apr. 2020.
Ako pravis damage system ->

Weapon-config resenje za sve tvoje probleme
Bep0.amx
3
Wheel Man
22. Apr. 2020.
.agency wrote on April 21, 2020, 7:13 pm:
Ako pravis damage system ->

Weapon-config resenje za sve tvoje probleme

Hvala, probat cu pa javim.
Bep0.amx
3
Wheel Man
22. Apr. 2020.
Radi sve u fulu. Hvala.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha