comando nao fucionar.!
#6

fiz asim e deu certo obrigado manow

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)// Verifica se e motorista
{
for(new DonSpeed = 0; DonSpeed < sizeof CarrosAdm; DonSpeed++)// loops para verificar do 0 ao 4
{
if(GetPlayerVehicleID(playerid) == CarrosAdm[DonSpeed])
{
if(!IsPlayerAdmin(playerid) && PlayerDados[playerid][Admin] < 1)return RemovePlayerFromVehicle(playerid), SendClientMessage(playerid, -1, "Vocк nгo й da ADMINISTRADOR");
SendClientMessage(playerid, -1, "Bem Vindo");// verifica se o veiculo em questao e o mesmo que o veiculo desejado deste tutorial
}
}
}
return 1;
}
Reply


Messages In This Thread
comando nao fucionar.! - by alanbastos2010 - 19.03.2019, 18:53
Re: comando nao fucionar.! - by Don_Speed - 19.03.2019, 19:01
Re: comando nao fucionar.! - by alanbastos2010 - 19.03.2019, 19:17
Re: comando nao fucionar.! - by Don_Speed - 19.03.2019, 19:39
Re: comando nao fucionar.! - by alanbastos2010 - 19.03.2019, 20:22
Re: comando nao fucionar.! - by alanbastos2010 - 19.03.2019, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)