OnVehicleDeath Problem
#2

pawn Код:
if(VehicleInfo[slot][vInsurance] > 0)
                {
                    VehicleInfo[slot][vInsurance] --;
                    VehicleInfo[slot][vDestroyed] ++;
                    VehicleInfo[slot][vImpounded] = 1;

                } else {
                    SendClientMessage(ownerid, 0xFFFFFFFF, "[{33CCFF}INFO{FFFFFF}]: I'm sorry to inform you that you don't have any insurace to cover your vehicles destoruction, and it has been impounded until you can retrive it.");
                }
Would you mind putting some prints around this code? VehicleInfo[slot][vInsurance] > 0, surely not gonna get the message.

Check your code again, this time add some prints.
Reply


Messages In This Thread
OnVehicleDeath Problem - by zT KiNgKoNg - 27.12.2013, 18:45
Re: OnVehicleDeath Problem - by Cypress - 27.12.2013, 19:37
Re: OnVehicleDeath Problem - by zT KiNgKoNg - 27.12.2013, 20:19
Re: OnVehicleDeath Problem - by Cypress - 27.12.2013, 21:40
Re: OnVehicleDeath Problem - by zT KiNgKoNg - 28.12.2013, 09:29

Forum Jump:


Users browsing this thread: 3 Guest(s)