Quote:
Originally Posted by Pinguinn
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 ?