[Ajuda] NPC correr
#5

Quote:
Originally Posted by Scorpion659
View Post
vlw galera, eu pensava que tinha que mudar a animaзгo pra ele correr, mas era sу aumentar a velocidade msm, e mais uma pergunta, coloquei assim:

PHP Code:
public FCNPC_OnTakeDamage(npciddamageridweaponidbodypartFloat:health_loss)
{
    
FCNPC_SetHealth(npcid0);
    return 
1;

mas o zumbi n morre, algo de errado?

@edit:

achei o problema, a funзгo OnTakeDamage nгo ta sendo chamada, o plugin ta ok, mas ela n ta sendo chamada, alguem sabe o pq?
@errei o cуdigo IGNORE
@Edit: talvez isso te ajude o cara teve o mesmo problema: https://sampforum.blast.hk/showthread.php?pid=2499719#pid2499719
Ou isso:
PHP Code:
FCNPC_GetHealth(npcid) <= 0.0)
FCNPC_Kill(npcid); 
Reply


Messages In This Thread
NPC correr - by Scorpion659 - 24.05.2017, 18:01
Re: NPC correr - by JPedro - 24.05.2017, 18:07
Re: NPC correr - by nasser - 24.05.2017, 18:08
Re: NPC correr - by Scorpion659 - 24.05.2017, 18:17
Re: NPC correr - by nasser - 24.05.2017, 21:02
Re: NPC correr - by Scorpion659 - 24.05.2017, 22:27
Re: NPC correr - by RodrigoMSR - 25.05.2017, 01:44

Forum Jump:


Users browsing this thread: 1 Guest(s)