16.04.2012, 07:48
Well,you're doing it kinda correct,just that you must start with 0(Gun[0]) not 1(Gun[1]),and why have you declared 13 slots,12 are enough.Plus you haven't assigned values to the variables.Example:
I hope you understand now.
pawn Код:
new Float:Pos[3];
new Float:x,Float:y,FLoat:z;
GetPlayerPos(playeird,x,y,z);
Pos[0]=x;//assigning value
Pos[1]=y;//same
Pos[2]=z;//same