Help | With Attacking Bot
#8

Quote:
Originally Posted by Pinguinn
View Post
pawn Code:
CreateAttackingNPC("npcname", npc-x, npc-y, npc-z, [optional]attack distance, [optional]attack accuracy);
For example, you want to spawn the npc 2 meters above you

pawn Code:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateAttackingNPC("haider", x, y, z+2);
(As you can see I didn't add attack distance, or accuracy, because those are optional (default distance; 60m, accuarcy; 10 degrees))

If it doesn't work, please return
i will edit this after i try

**EDIT: dont work. mybe i need to create the bot before......... What i need to do ?
Reply


Messages In This Thread
Help | With Attacking Bot - by itay_h7 - 26.08.2011, 11:00
Re: Help | With Attacking Bot - by =WoR=G4M3Ov3r - 26.08.2011, 11:02
Re: Help | With Attacking Bot - by itay_h7 - 26.08.2011, 11:03
Re: Help | With Attacking Bot - by =WoR=G4M3Ov3r - 26.08.2011, 11:07
Re: Help | With Attacking Bot - by itay_h7 - 26.08.2011, 11:09
Re: Help | With Attacking Bot - by itay_h7 - 26.08.2011, 11:43
Re: Help | With Attacking Bot - by Pinguinn - 26.08.2011, 11:46
Re: Help | With Attacking Bot - by itay_h7 - 26.08.2011, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)