[Help] Setting an animation and timer in a FS.
#3

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

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 )

As for the animation, your using the wrong variables in the ApplyAnimation( See Wiki For Params )
Reply


Messages In This Thread
[Help] Setting an animation and timer in a FS. - by Da' J' - 03.09.2011, 15:26
Re: [Help] Setting an animation and timer in a FS. - by Da' J' - 03.09.2011, 17:37
AW: [Help] Setting an animation and timer in a FS. - by Joshua_Turnerz - 03.09.2011, 17:43
Re: [Help] Setting an animation and timer in a FS. - by Da' J' - 03.09.2011, 17:58

Forum Jump:


Users browsing this thread: 1 Guest(s)