Ayuda
#2

Quote:
Originally Posted by ValenRatti
Посмотреть сообщение
Hice esto que me funciono muy bien pero me trajo un problema. Lo que pasa es que ahora solamente podes andar en bici si sos job 3, los demas no :S

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
    {
       new vehicleid = GetPlayerVehicleID(playerid);

       if(GetVehicleModel(vehicleid) == 481 )
       {
          if(InfoJugador[playerid][jJob] == 3)//481
          {
             if(Biker == 0)
             {
                   SetVehicleParamsEx(vehicleid,1,0,0,0,0,0,0);
                   EnableStuntBonusForPlayer(playerid, 1);
                   Biker = 1;
             }
             
          }
               
       }
       return 1;
    }
No sй si es esto lo que quieres, pero prueba:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
    {
       new vehicleid = GetPlayerVehicleID(playerid);

       if(GetVehicleModel(vehicleid) == 481 )
       {
          SetVehicleParamsEx(vehicleid,1,0,0,0,0,0,0);
          if(InfoJugador[playerid][jJob] == 3)//481
          {
             if(Biker == 0) {
                   EnableStuntBonusForPlayer(playerid, 1);
                   Biker = 1;
             }
             
          }
               
       }
       return 1;
    }
Reply


Messages In This Thread
Ayuda - by ValenRatti - 22.01.2013, 20:34
Respuesta: Ayuda - by [DOG]irinel1996 - 22.01.2013, 21:29
Respuesta: Ayuda - by ValenRatti - 22.01.2013, 21:38
Re: Ayuda - by [DOG]irinel1996 - 22.01.2013, 22:07
Respuesta: Ayuda - by oOFotherOo - 22.01.2013, 23:26

Forum Jump:


Users browsing this thread: 1 Guest(s)