for (new d = 0; d < 14; d++) new w, a, Float:X, Float:Y, Float:Z; GetPlayerWeaponData(playerid, d, w, a); GetPlayerPos(playerid, X,Y,Z); CreatePickup(w, type, X, Y, Z);