09.03.2014, 15:35
Bom pessoal eu tou querendo que quando o jogador se registra-se , ele poderia usar o faggio sem precisa de licenзas, mais os faggios que eu tou falando tem variavels olhem.
PHP код:
if(MotoLIC(vehicleid))
{
if(Player[playerid][qLicMoto] == 0)
{
SendClientMessage(playerid,VERMELHO_BEM_CLARO,"Vocк nгo tem a licenзa nescessбria para conduzir Motos.");
TogglePlayerControllable(playerid,0); SetTimerEx("Descongelar",500,0,"i",playerid); RemovePlayerFromVehicle(playerid);
}
}
PHP код:
CivilVeiculo[0] = AddStaticVehicleEx(462, 2012.6415, -1274.3828, 23.4188, 182.6345, 0, 0, 300);
CivilVeiculo[1] = AddStaticVehicleEx(462, 1978.9014, -1274.5719, 23.3899, 180.4180, 1, 1, 300);
CivilVeiculo[2] = AddStaticVehicleEx(462, 1981.6979, -1274.5699, 23.3896, 178.4302, 2, 2, 300);
CivilVeiculo[3] = AddStaticVehicleEx(462, 1984.7279, -1274.5609, 23.3897, 178.2944, 3, 3, 300);
CivilVeiculo[4] = AddStaticVehicleEx(462, 1987.6003, -1274.5469, 23.3906, 179.5856, 4, 4, 300);
CivilVeiculo[5] = AddStaticVehicleEx(462, 1990.6230, -1274.5784, 23.3894, 181.2389, 5, 5, 300);
CivilVeiculo[6] = AddStaticVehicleEx(462, 1993.5961, -1274.5565, 23.3892, 179.0403, 6, 6, 300);
CivilVeiculo[7] = AddStaticVehicleEx(462, 1996.6348, -1274.6083, 23.3886, 179.0550, 7, 7, 300);
CivilVeiculo[8] = AddStaticVehicleEx(462, 1999.3888, -1274.5767, 23.3888, 181.4814, 24, 24, 300);
CivilVeiculo[9] = AddStaticVehicleEx(462, 2002.5083, -1274.5861, 23.3894, 179.3820, 86, 86, 300);
CivilVeiculo[10] = AddStaticVehicleEx(462, 2005.3447, -1274.6067, 23.3936, 181.0860, 128, 128, 300);
CivilVeiculo[11] = AddStaticVehicleEx(462, 2008.3119, -1274.5967, 23.3886, 182.4561, 183, 183, 300);
CivilVeiculo[12] = AddStaticVehicleEx(462, 1975.1104, -1274.3145, 23.4201, 176.9130, 93, 93, 300);