[ajuda] /tunar
#9

tem muitas condiзхes no if. tenta mudar e fazer assim:

pawn Код:
new veiculos[] = {/*todos aqueles IDs que estгo ali*/}

for(new a = 0; a < sizeof(veiculos); a++)
{
     if(GetVehicleModel(GetPlayerVehicleID(playerid)) == veiculos[a])
     {
         //funзхes
     }
}
Reply


Messages In This Thread
[ajuda] /tunar - by kinhobryant - 18.02.2012, 15:24
Re: [ajuda] /tunar - by steki. - 18.02.2012, 15:31
Re: [ajuda] /tunar - by kinhobryant - 18.02.2012, 15:31
Re: [ajuda] /tunar - by kinhobryant - 18.02.2012, 15:35
Re: [ajuda] /tunar - by paulor - 18.02.2012, 15:39
Re: [ajuda] /tunar - by kinhobryant - 18.02.2012, 15:41
Re: [ajuda] /tunar - by kinhobryant - 18.02.2012, 15:43
Re: [ajuda] /tunar - by paulor - 18.02.2012, 15:53
Re: [ajuda] /tunar - by Lucas_Alemao - 18.02.2012, 15:55
Re: [ajuda] /tunar - by kinhobryant - 18.02.2012, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)