[Pedido] Ligar veiculo apertando tecla y
#7

@OFF
mds, tu faz o pedido, e nгo consegue entender a base ? '-'
qual parte que vc nгo entendeu ?
Quote:
Originally Posted by Andinho
Посмотреть сообщение
Bom, aconselho procurar algum FS e estudar o mesmo, mais vou de dar um code :
@TOPIC
so substitui por esse '-'.
pawn Код:
if(Motor[carro] == 0)
{
SetVehicleParamsEx(carro, VEHICLE_PARAMS_ON, VEHICLE_PARAMS_OFF, alar, por, cap, porma, ob);
Motor[carro] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo {2F991A}Ligado!");
}
else
if(motor[carro] == 1)
{
SetVehicleParamsEx(carro, VEHICLE_PARAMS_OFF, VEHICLE_PARAMS_OFF, alar, por, cap, porma, ob);
motor[carro] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo {2F991A}Desligado!");
}
return 1;
}
return 1;
}
Reply


Messages In This Thread
Ligar veiculo apertando tecla y - by WagnerSantosTexudo - 01.09.2016, 15:34
Re: Ligar veiculo apertando tecla y - by Andinho - 01.09.2016, 15:47
Re: Ligar veiculo apertando tecla y - by teteu99 - 01.09.2016, 15:48
Re: Ligar veiculo apertando tecla y - by Ender_ - 01.09.2016, 18:35
Re: Ligar veiculo apertando tecla y - by WagnerSantosTexudo - 01.09.2016, 19:16
Re: Ligar veiculo apertando tecla y - by Whoo - 01.09.2016, 19:19
Re: Ligar veiculo apertando tecla y - by Ender_ - 01.09.2016, 19:58
Re: Ligar veiculo apertando tecla y - by WagnerSantosTexudo - 01.09.2016, 20:09
Re: Ligar veiculo apertando tecla y - by Ender_ - 01.09.2016, 20:41
Re: Ligar veiculo apertando tecla y - by Andinho - 01.09.2016, 23:34

Forum Jump:


Users browsing this thread: 1 Guest(s)