Infernus
#10

do

new IsAttached[MAX_VEHICLES];

and then in the code that i gived to you, do that :

pawn Код:
if(oldstate == PLAYER_IN_FOOT && newstate == PLAYER_DRIVE)
    {
        if(GetVehicleModel(vehicleid) == 411)
        {
              if(IsAttached(vehicleid) == 0)
              {
                  LSPDizeInfernus(vehicle);
                  IsAttached[vehicleid] =1;
               }
        }
     }
if(oldstate == PLAYER_DRIVE && newstate == PLAYER_IN_FOOT)
    {
        if(GetVehicleModel(vehicleid) == 411)
        {
              if(IsAttached(vehicleid) == 1)
              {
                  LSPDizeInfernus(vehicle);
                  IsAttached[vehicleid] =0;
               }
        }
     }
Reply


Messages In This Thread
Infernus - by saikumar - 16.05.2014, 11:12
Re: Infernus - by saikumar - 16.05.2014, 11:38
Re: Infernus - by saikumar - 16.05.2014, 12:04
Re: Infernus - by saikumar - 16.05.2014, 12:15
Re: Infernus - by saikumar - 16.05.2014, 14:25
Re : Infernus - by Ramoboss - 16.05.2014, 14:30
Re: Infernus - by saikumar - 16.05.2014, 14:51
Re : Infernus - by Ramoboss - 16.05.2014, 15:21
Re: Re : Infernus - by saikumar - 16.05.2014, 16:24
Re : Infernus - by Ramoboss - 16.05.2014, 16:29
Re: Infernus - by saikumar - 17.05.2014, 03:35
Re: Infernus - by saikumar - 17.05.2014, 06:33
Re: Infernus - by [ABK]Antonio - 17.05.2014, 08:40

Forum Jump:


Users browsing this thread: 1 Guest(s)