SA-MP Forums Archive
Bot + Weapon - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Bot + Weapon (/showthread.php?tid=96363)



Bot + Weapon - Trooper[Y] - 07.09.2009

If im trying to give a bot a gun, hes not wearing it OO

How can i do this ?
GivePlayerWeapon doesnt seem to work....

Any known informations about this ?


Re: Bot + Weapon - BigJayMalcolm - 07.09.2009

I recorded a bot firing an M4, When i played back the recording in my gm he was there firing an M4.

Try recording with weapon?


Re: Bot + Weapon - Trooper[Y] - 07.09.2009

Im using the Script
"npcidle".

He doesnt have any weapons or sth. similiar.
And i dont want to record sth., im trying to make his moves variabel.


Re: Bot + Weapon - saiberfun - 07.09.2009

Quote:
Originally Posted by BigJayMalcolm
I recorded a bot firing an M4, When i played back the recording in my gm he was there firing an M4.

Try recording with weapon?
yes recording with weapon will help.
Tho i think its kinda bad that it only shoots on one height instead of the recorded aiming.
like if you turn while aiming at the record it will only shoot the turn but not the rest of the aiming
Quote:
Originally Posted by Trooper[Y
]
Im using the Script
"npcidle".

He doesnt have any weapons or sth. similiar.
And i dont want to record sth., im trying to make his moves variabel.
you can't give a bot weapon other way.
its all recorded in the .rec files.


Re: Bot + Weapon - Trooper[Y] - 07.09.2009

Ill attach the gun, thx dudes.
If someone knows the right altitude....