[AJUDA] Random (Tag Mismatch)
#8

Quote:
Originally Posted by Guilherme P.
Посмотреть сообщение
Bom, compilou...
Mas durante o jogo ele nгo funciona como era pra ser. Quando aperta "F" para entrar no carro ele congela, mas era pra acontecer isso sу se o carro tivesse 100 ou menos de vida. Como arrumar?

Isto deve resolver o seu problema .


Use o cуdigo desta forma :


pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new Float:Health;
    GetVehicleHealth(vehicleid, Health);
    if(Health <= 100)
    {
        TogglePlayerControllable(playerid,0);
    }
    return 1;
}


Espero ter ajudado .
Reply


Messages In This Thread
[AJUDA] Funзгo nгo esta funcionando direito. - by Guilherme P. - 22.12.2011, 16:22
Re: [AJUDA] Random (Tag Mismatch) - by Hardware - 22.12.2011, 16:28
Re: [AJUDA] Random (Tag Mismatch) - by Guilherme P. - 22.12.2011, 16:40
Re: [AJUDA] Random (Tag Mismatch) - by Hardware - 22.12.2011, 16:42
Re: [AJUDA] Random (Tag Mismatch) - by Guilherme P. - 23.12.2011, 15:45
Re: [AJUDA] Random (Tag Mismatch) - by Cristhian - 23.12.2011, 15:58
Re: [AJUDA] Random (Tag Mismatch) - by Guilherme P. - 23.12.2011, 16:04
Re: [AJUDA] Random (Tag Mismatch) - by rjjj - 23.12.2011, 16:10
Re: [AJUDA] Random (Tag Mismatch) - by Guilherme P. - 23.12.2011, 16:46
Re: [AJUDA] Random (Tag Mismatch) - by rjjj - 23.12.2011, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)