08.10.2017, 22:26
PHP код:
stock GetItemName(imodel, itype) {
new str[20];
if(imodel == 58) { // medicamentos
if(itype == 1) str = "Painkiller";
else if(itype == 2) str = "Morphine";
else if(itype == 3) str = "Heat Pack";
else if(itype == 4) str = "Bandage";
else if(itype == 5) str = "Medkit";
else if(itype == 6) str = "Blood Bag";
}
return str;
}