Help | With Attacking Bot
#1

https://sampforum.blast.hk/showthread.php?tid=106257

I Cant Understand this !
How I use it ? ??
Reply
#2

Read the instructions carefully.
Reply
#3

Quote:
Originally Posted by G4M3Ov3r
View Post
Read the instructions carefully.
LOL
But I dont understood this so i need help
mybe u can give me a script for example
Reply
#4

Quote:
Originally Posted by itay_h7
View Post
LOL
But I dont understood this so i need help
Are you trying to attack another server or something ?, because it won't work, unless on yours.
Reply
#5

Quote:
Originally Posted by G4M3Ov3r
View Post
Are you trying to attack another server or something ?, because it won't work, unless on yours.
no.... its a npc that can attack players
Reply
#6

help ....
Reply
#7

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
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)