[Ajuda] error 029: invalid expression, assumed zero
#4

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

Reply


Messages In This Thread
error 029: invalid expression, assumed zero - by binnyl - 08.10.2017, 21:16
Re: error 029: invalid expression, assumed zero - by RodrigoMSR - 08.10.2017, 21:30
Re: error 029: invalid expression, assumed zero - by binnyl - 08.10.2017, 22:12
Re: error 029: invalid expression, assumed zero - by RodrigoMSR - 08.10.2017, 22:26
Re: error 029: invalid expression, assumed zero - by binnyl - 09.10.2017, 03:37

Forum Jump:


Users browsing this thread: 1 Guest(s)