[Attach Weapon] More Than One
#1

Hey all, i want to ask how to attach weapon more than one...

Example, i use this code AttachObjectToPlayer(playerid, weaponid) and when i put that again with different weapoin id and i just attach one weapon...

I want make just maximal 2 weapon attach in the body and when i attach M4 and i want attach AK47 again, that M4 must be gone, so i just can attach like deagel and M4 or AK47 and silenced...
Reply
#2

Yeah that is possible , AttachObjectToPlayer has index parameter which is 0-9. That means you can attach 10 Objects per player.
Reply
#3

If use AttachObjectToPlayer i must set the coordinate too, and i can't find the coordinate of all weapon...
Reply
#4

~PROBLEM SOLVED~
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)