[Ayuda]Motor
#3

Quote:
Originally Posted by Fede.Zink
Посмотреть сообщение
mmm por que no le pones la variable que si estas en Tal id de coche (ids de las bicis) no te deje usar el comando!
mm, y que tendria que poner?? esque no tengo mucha idea, este es el codigo
Quote:

if (strcmp("/encendermotor", cmd, true) == 0)
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 1;
//ARRANCAR /ENCENDERMOTOR
new newcar = GetPlayerVehicle(playerid);
return EncenderMotor(playerid,newcar);
}

if (strcmp("/apagarmotor", cmd, true) == 0)
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 1;
//APAGAR /APAGARMOTOR
new newcar = GetPlayerVehicle(playerid);
return ApagarMotor(playerid,newcar);
}

si alguien me dijese com oponerlo para que no funcionase ese comando en las bicis
Reply


Messages In This Thread
[Ayuda]Motor - by krauser - 06.02.2012, 03:23
Respuesta: [Ayuda]Motor - by Fede.Zink - 06.02.2012, 04:13
Respuesta: [Ayuda]Motor - by krauser - 06.02.2012, 18:12
Respuesta: [Ayuda]Motor - by [Nikk] - 06.02.2012, 18:29
Respuesta: [Ayuda]Motor - by krauser - 06.02.2012, 21:10
Respuesta: [Ayuda]Motor - by [Nikk] - 06.02.2012, 21:20
Respuesta: [Ayuda]Motor - by Voychuk97 - 06.02.2012, 22:05
Respuesta: [Ayuda]Motor - by Fede.Zink - 06.02.2012, 22:16
Respuesta: [Ayuda]Motor - by krauser - 06.02.2012, 22:38
Respuesta: [Ayuda]Motor - by [Nikk] - 06.02.2012, 22:44

Forum Jump:


Users browsing this thread: 3 Guest(s)