[AJUDA]Veiculos
#2

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        if(GetPlayerVehicleID(playerid) == VeiculoID[playerid])
        {
            return 1;
        }
        else
        {
            format(gstring, sizeof(gstring), "| ERRO | Esse veнculo pertence а %s e vocк nгo pode dirigi-lo! {99FF66}( Crie o seu usando: /Veh )", PlayerName(VeiculoID[playerid]));
            SendClientMessage(playerid, 0xFF6633AA, gstring);
            PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
            RemovePlayerFromVehicle(playerid);
            return 1;
        }
    }
    return 1;
}
tente
Reply


Messages In This Thread
[AJUDA]Veiculos - by Victor_Souz4 - 08.12.2011, 11:28
Re: [AJUDA]Veiculos - by Cristhian - 08.12.2011, 11:43
Re: [AJUDA]Veiculos - by Victor_Souz4 - 08.12.2011, 11:48
Re: [AJUDA]Veiculos - by Cristhian - 08.12.2011, 12:17
Re: [AJUDA]Veiculos - by Victor_Souz4 - 08.12.2011, 12:18
Re: [AJUDA]Veiculos - by Cristhian - 08.12.2011, 12:21
Re: [AJUDA]Veiculos - by Victor_Souz4 - 08.12.2011, 12:21
Re: [AJUDA]Veiculos - by Cristhian - 08.12.2011, 12:33
Re: [AJUDA]Veiculos - by Victor_Souz4 - 08.12.2011, 12:46
Re: [AJUDA]Veiculos - by Victor_Souz4 - 08.12.2011, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)