[Aide] Include Physics
#8

Dutheil;3615039 Wrote:Renseigne-toi sur l'utilisation de Foreach et des itйrateurs, j'en ai fait un tutoriel, le lien se trouve dans ma showroom.

PHP Code:
iswheelmodel(modelid
{
    static const
        
wheelmodels[17] = {1025,1073,1074,1075,1076,1077,1078,1079,1080,1081 ,1082,1083,1084,1085,1096,1097,1098};

    for(new 
0&ltsizeof(wheelmodels); i++) 
        if(
modelid == wheelmodels[I]) return true;

    return 
false;


Si tu prends ce code (j'йtais entrain de t'expliquer le fonctionnement et de le rйdiger mais Dutheil m'a doublй), remplace зa :

if(modelid == wheelmodels[I]) return true;

par зa :

if(modelid == wheelmodels[i]) return true;
Reply


Messages In This Thread
[Aide] Include Physics - by Jabern - 15.11.2015, 17:19
Re : [Aide] Include Physics - by xNowZ - 15.11.2015, 18:05
Re: [Aide] Include Physics - by Jabern - 15.11.2015, 18:10
Re : [Aide] Include Physics - by xNowZ - 15.11.2015, 18:15
Re: [Aide] Include Physics - by Jabern - 15.11.2015, 18:21
Re : [Aide] Include Physics - by Dutheil - 15.11.2015, 18:25
Re: [Aide] Include Physics - by Jabern - 15.11.2015, 18:27
Re : [Aide] Include Physics - by xNowZ - 15.11.2015, 18:30
Re: [Aide] Include Physics - by Jabern - 15.11.2015, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)