new pModelID[46] = { 331, 333, 334, 335, 336, 337, 338, 339, 341, 321, 322, 323, 324, 325, 326, 342, 343, 344, 330, 330, 330, 346, 347, 348, 349, 350, 351, 352, 353, 355, 356, 372, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 371}; public OnPlayerDeath(playerid, killerid, reason) { 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); if (w > 0 && w < 19 || w > 21 && w < 47) { CreatePickup(pModelID[w], 4, X,Y,Z); } } return 1; }