[Ajuda] error 017: undefined symbol "veiculo"
#1

como defino os veiculos para a prof caзador??

Код:
new vCacador[ 6 ];
Код:
vCacador[ 0 ] = CreateVehicle(568, -1634.3423, -2251.0496, 31.1158, -267.0000, -1, -1, 100);
    vCacador[ 1 ] = CreateVehicle(468, -1646.1348, -2244.6887, 30.4805, 94.0000, -1, -1, 100);
    vCacador[ 2 ] = CreateVehicle(468, -1646.0422, -2246.6721, 30.6324, 93.0000, -1, -1, 100);
    vCacador[ 3 ] = CreateVehicle(468, -1645.8850, -2248.2595, 30.7134, 92.0000, -1, -1, 100);
    vCacador[ 4 ] = CreateVehicle(489, -1645.9618, -2257.7600, 32.3769, 2.0000, -1, -1, 100);
    vCacador[ 5 ] = CreateVehicle(489, -1641.9397, -2257.5710, 32.3645, 0.0000, -1, -1, 100);
Код:
if(veiculo == vCacador[ 0 ] || veiculo == vCacador[ 1 ] || veiculo == vCacador[ 2 ] || veiculo == vCacador[ 3 ] || veiculo == vCacador[ 4 ] || veiculo == vCacador[ 5 ] || veiculo == vCacador[ 6 ] ){
	if(PlayerInfo[ playerid ][pProfissao] == Cacador ){
	} else {
	SendClientMessage(playerid,Vermelho,"| ERRO | Esse veнculo й exclusivo do Caзador");
	RemovePlayerFromVehicle(playerid);
	TogglePlayerControllable(playerid, 1);
	}
Fiz assim, esta dando error 017: undefined symbol "veiculo" , como defini isso?
Reply


Messages In This Thread
error 017: undefined symbol "veiculo" - by LukeCage - 08.02.2018, 18:49
Re: error 017: undefined symbol "veiculo" - by AllanSG - 08.02.2018, 18:52
Re: error 017: undefined symbol "veiculo" - by DarthVeider - 08.02.2018, 18:54
Re: error 017: undefined symbol "veiculo" - by LukeCage - 08.02.2018, 18:58
Re: error 017: undefined symbol "veiculo" - by LukeCage - 08.02.2018, 19:03
Re: error 017: undefined symbol "veiculo" - by AllanSG - 08.02.2018, 19:08
Re: error 017: undefined symbol "veiculo" - by LukeCage - 08.02.2018, 19:10
Re: error 017: undefined symbol "veiculo" - by AllanSG - 08.02.2018, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)