03.09.2011, 17:43
well..your most obvious problem with not getting the weapon, is because your destroying the data before operating the function that gives based on the data
As for the animation, your using the wrong variables in the ApplyAnimation( See Wiki For Params )
Quote:
DropInfo[i][DropGunAmmount][0] = 0; //<-- destroy data ? DropInfo[i][DropGunAmmount][1] = 0; //<-- destroy data ? GivePlayerWeapon(playerid,DropInfo[i][DropGunAmmount][0],DropInfo[i][DropGunAmmount][1]);//<-- So your giving 0 weapon ID and 0 ammo ... ( This is why you get nothing ) |