PHP код:
if(newkeys == KEY_FIRE)
{
new Float:x,Float:y,Float:z;
new idpick[90] = {
321,322, 323,324, 325,326, 330,331, 333,334, //10
335,336, 337,338, 339,341, 342,343, 344,346, //20
347,348, 349,350, 351,352, 353,355, 356,357, //30
358,359, 360,361, 362,363, 364,365, 366,367, //40
368,369, 370,371, 372,1210, 1212,1239, 1240,1241, //50
1242,1247, 1248,1252, 1254,1313, 1272,1273, 1274,1275, //60
1276,1277, 1279,1314, 1316,1317, 1318,1559, 1582,2894, //70
954,1213, 1550,1575, 1576,1577, 1578,1579, 1580,1581, //80
1636,1644, 1650,19130, 19131,19132,19133,19134,19135,19180 //90
};
GetPlayerPos(playerid,x,y,z);
CreatePickup(idpick[GetPVarInt(playerid,"pickapid")], 1, x, y, z, -1);
new string[32]; format(string, sizeof(string), "%d",idpick[GetPVarInt(playerid,"pickapid")]);
Create3DTextLabel(string, 0xBBBBBBFF, x,y,z+1, 40.0, 0);
SetPVarInt(playerid,"pickapid",GetPVarInt(playerid,"pickapid")+1);
if(GetPVarInt(playerid,"pickapid") == 90) SetPVarInt(playerid,"pickapid",0);
return 1;
}
Бегаем, нажимаем кнопку огня и просматриваем пикапы с их ид над ними. Всего собрал 90 пикапов.