I need help for Attacking NPC (+REP )
#1

Hi, i tried to fix those errors but i can't so i hope you to help me
here is the codes:
Code:
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\filterscripts\bot.pwn(67) : error 017: undefined symbol "GetPlayerid"
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\filterscripts\bot.pwn(240) : error 017: undefined symbol "CreateAttackingNPC"
lines here :
Code:
public OnPlayerSpawn(playerid)
{
        if(IsPlayerNPC(playerid))
	    {
        if(playerid == GetPlayerid("Attack_NPC")) SetTimer("AttackNPC", 5000, 0);
	    }
	    return 0;
}

forward AttackNPC();
public AttackNPC()
{
	CreateAttackingNPC("Attack_NPC",230,2052.1956 ,2173.7727, 10.8203);
	return 0;
}
i hope you to help me as soon as possible and +reputation for the person who helps me here
Reply


Messages In This Thread
I need help for Attacking NPC (+REP ) - by MarkNelson - 07.07.2016, 14:22
Re: I need help for Attacking NPC (+REP ) - by Napst34 - 07.07.2016, 14:31
Re: I need help for Attacking NPC (+REP ) - by MarkNelson - 07.07.2016, 14:35
Re: I need help for Attacking NPC (+REP ) - by Napst34 - 07.07.2016, 14:36
Re: I need help for Attacking NPC (+REP ) - by MarkNelson - 07.07.2016, 14:40
Re: I need help for Attacking NPC (+REP ) - by Napst34 - 07.07.2016, 14:47
Re: I need help for Attacking NPC (+REP ) - by MarkNelson - 07.07.2016, 14:49
Re: I need help for Attacking NPC (+REP ) - by MarkNelson - 07.07.2016, 15:02
Re: I need help for Attacking NPC (+REP ) - by Napst34 - 07.07.2016, 15:15
Re: I need help for Attacking NPC (+REP ) - by MarkNelson - 07.07.2016, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)