[Ajuda]Carro Quebrar
#9

Bom, jб que o autor do tуpico demora pra responder, fiz um simples. Poem na public OnPlayerUpdate e vк se funciona, testei nгo.
pawn Код:
if (GetPlayerVehicleSeat(playerid) == 0)
    {
        new Float:health, engine, lights, alarm, doors, bonnet, boot, objective;
        GetVehicleHealth(GetPlayerVehicleID(playerid), health);
        if (health < 250)
        {
            SetVehicleHealth(GetPlayerVehicleID(playerid), 300.0);
            GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
            SetVehicleParamsEx(GetPlayerVehicleID(playerid), false, lights, alarm, doors, bonnet, boot, objective);
            SendClientMessage(playerid, 0xFF0000AA, "Seu carro pifou!");
        }
    }
Reply


Messages In This Thread
[Ajuda]Carro Quebrar - by keller012 - 04.01.2011, 21:20
Re: [Ajuda]Carro Quebrar - by Macintosh - 04.01.2011, 21:32
Re: [Ajuda]Carro Quebrar - by [FeK]Knife - 04.01.2011, 21:34
Re: [Ajuda]Carro Quebrar - by Black Sσldiєя - 04.01.2011, 21:35
Re: [Ajuda]Carro Quebrar - by Macintosh - 04.01.2011, 21:41
Re: [Ajuda]Carro Quebrar - by Black Sσldiєя - 04.01.2011, 21:50
Re: [Ajuda]Carro Quebrar - by Macintosh - 04.01.2011, 21:57
Respuesta: [Ajuda]Carro Quebrar - by zSuYaNw - 04.01.2011, 22:01
Re: [Ajuda]Carro Quebrar - by Black Sσldiєя - 04.01.2011, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)