Simple Help
#1

FIXED
Reply
#2

If the player doesn't have anything in that slot, the 'weapon' variable will be equal to 0.
So you need change this
Код:
if(weapon != GetModelWeaponID(DropInfo[i][D_Model]))
To this
Код:
if(weapon != 0 && weapon != GetModelWeaponID(DropInfo[i][D_Model]))
What it does is it checks if the player actually has anything in that slot.
That should work, but there's a possibility that it doesn't, so reply if you run into problems.
Reply
#3

I try that way later. But now maybe I was wrong somewhere it works thanks..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)