Request - ammunition system
#1

Hello, I am looking for a system but can not find, it is this, that ends the ammunition for a weapon, the weapon does not disappear from the player's hand, the more ammunition over, and shortly thereafter he must go to the gun store, buy more ammunition, apena want the system running out of ammunition and hold the gun yet.

Look!
Reply
#2

up!!!
Reply
#3

Use AttachObjectToPlayer with selected weapon.
Reply
#4

That would be AttachObjectToPlayer*
Reply
#5

Quote:
Originally Posted by Suicidal.Banana
Посмотреть сообщение
That would be AttachObjectToPlayer*
I wrote quickly and came out this error. Thanks.
Reply
#6

Just saying and just so we're clear i didn't mean anything negative with that, so no need to defend yourself hehe, i constantly make typo's like that too, and im a full-time programmer, go figure haha.

Btw, will the game understand that attaching a weapon object to a player means having it hold the weapon in its hands? or does he maybe actually need a different command that includes something like an attachment bone or something? just wondering, its been a while :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)