[Ajuda] error 025: function heading differs from prototype
#6

O Erro foi Resolvido, Eu Criei Esse Sistema Mas So que o Carro Ainda Explode Esa e A Funзao que faz Ele Nao Explodir'

pawn Код:
public KitCarro(playerid)
{
    for(new i=0;i<MAX_PLAYERS;i++)
    {
        if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
        {
            new vehicle = GetPlayerVehicleID(i);
            if (GetPlayerVehicleSeat(playerid) == 0)
            {
                new Float:health, engine, lights, alarm, doors, bonnet, boot, objective;
                GetVehicleHealth(GetPlayerVehicleID(playerid), health);
                if (health < 250)
                {
                     GetVehicleParamsEx(vehicle,engine,lights,alarm,doors,bonnet,boot,objective);
                     SetVehicleParamsEx(vehicle,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
                     Quebrado [vehicle] = 1;
                     RepairCar[i] = GetPlayerVehicleID(i);
                     SetVehicleHealth(RepairCar[i], 300.0);
                     SendClientMessage(i, COLOR_RED, "O Seu veнculo bateu o motor, chame um mecвnico(/servico mecanico) ou use seu kit(/kitcarro) !");
                     GameTextForPlayer(i,"~r~VEICULO QUEBRADO~n~~w~ Chame um mecanico ou use um~n~~w~ KIT[/kitcarro]", 5000, 1);
                     return 1;
                }
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
error 025: function heading differs from prototype - by ManoSwag - 03.02.2015, 17:38
Re: error 025: function heading differs from prototype - by ipsLuan - 03.02.2015, 17:40
Re: error 025: function heading differs from prototype - by PT - 03.02.2015, 17:43
Re: error 025: function heading differs from prototype - by ManoSwag - 03.02.2015, 17:45
Re: error 025: function heading differs from prototype - by ipsLuan - 03.02.2015, 17:47
Re: error 025: function heading differs from prototype - by ManoSwag - 03.02.2015, 17:52

Forum Jump:


Users browsing this thread: 2 Guest(s)