Ayuda Funcion --> coches
#1

Hola Foro Samp

Bueno mi problema es el sigiente:
yo cree un comando para agregar alerones a los coches aca les dejo la base del comando:

pawn Код:
if(strcmp(cmd, "/agregaraleron", true) == 0)//es una base mi comando es mas completo
    {  
       if(!IsPlayerInAnyVehicle(playerid))
          {
            SendClientMessage(playerid, COLOR_GREY, "No Estas En un coche !");
           }
       new car = GetPlayerVehicleID(playerid);
            AddVehicleComponent(car,1003);
    SendClientMessage(playerid, COLOR_GREY, "Has Agregado aleron al Coche !");
            return 1;
           }      
}
Bien el comando anda Perfecto, pero (siempre un pero xD) no anda con todos los coches ejm: Con el Infernus
No funciona, tira un Error ya que el Infernus no puede tenes Aleron, lo que nececitaba saver es si Habia alguna Funcion para que solamente te deje usar el comando en Las ids de los coches Agregadas a la funcion y qe si estas
En el infernus ejm te diga

NO ES COMPATIBLE CON ESTE COCHE !

Bueno Si alguien me ayuda se lo agradeseria mucho
Desde Ya muchas Gracias
Reply


Messages In This Thread
Ayuda Funcion --> coches - by Fede.Zink - 02.08.2011, 23:38
Respuesta: Ayuda Funcion --> coches - by Lunnatiicz - 03.08.2011, 00:07
Respuesta: Ayuda Funcion --> coches - by Fede.Zink - 03.08.2011, 01:10
Respuesta: Ayuda Funcion --> coches - by TheChaoz - 03.08.2011, 02:07
Respuesta: Ayuda Funcion --> coches - by VetoBarrera - 03.08.2011, 03:38
Respuesta: Ayuda Funcion --> coches - by [TF]Death_Ghost - 03.08.2011, 03:46
Respuesta: Ayuda Funcion --> coches - by Fede.Zink - 03.08.2011, 09:56
Respuesta: Ayuda Funcion --> coches - by [TF]Death_Ghost - 03.08.2011, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)