[AJUDA]OnPlayerEnterVehicle
#4

pawn Код:
new string[128];
new Float:Velocity[3];
GetVehicleVelocity(vehicleid, Velocity[0], Velocity[1], Velocity[2]);
if(!ispassenger)
{
    if(Velocity[0] > 0.1 || Velocity[1] > 0.1)
    {
        SendClientMessage(playerid, COLOR_WARNING, "*** Voce nao pode robar veiculos em movimento");
        DetectorProx(20.0,playerid,"*** Ele nao pode robar veiculos em movimento",COLOR_ROXO);
        TogglePlayerControllable(playerid,0);
    }
}
else
{
    format(string, sizeof(string), "** %s Entra no veiculo.", pNome(playerid));
    DetectorProx(20.0,playerid,string,COLOR_ROXO);
}
Reply


Messages In This Thread
[AJUDA]OnPlayerEnterVehicle - by lucas_mdr1235 - 13.05.2012, 16:07
Re: [AJUDA]OnPlayerEnterVehicle - by ViniBorn - 13.05.2012, 16:13
Re: [AJUDA]OnPlayerEnterVehicle - by lucas_mdr1235 - 13.05.2012, 16:17
Re: [AJUDA]OnPlayerEnterVehicle - by ViniBorn - 13.05.2012, 16:30
Re: [AJUDA]OnPlayerEnterVehicle - by lucas_mdr1235 - 13.05.2012, 17:07
Re: [AJUDA]OnPlayerEnterVehicle - by ViniBorn - 13.05.2012, 17:31
Re: [AJUDA]OnPlayerEnterVehicle - by lucas_mdr1235 - 13.05.2012, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)