#1

Hola buenas tengo una duda por que al entrar al vehiculo y encender el vehiculo se abren las puertas ї?

aqui esta el codigo del encender

Код HTML:
funcion EncenderVeh(playerid)
{
    new
		lights,
		alarm,
		doors,
		bonnet,
		boot,
		objective,
		string[60];
		
    SetVehicleParamsEx(GetPlayerVehicleID(playerid), true, lights, alarm, doors, bonnet, boot, objective);
    format(string,sizeof(string), "* %s enciende con йxito el motor del vehнculo.", Nombre_Sinbar(playerid));
    ProxDetector(20.0, playerid, string, COLOR_ME,COLOR_ME,COLOR_ME,COLOR_ME,COLOR_ME);
    return 1;
}
Reply
#2

PHP код:
funcion EncenderVeh(playerid)
{
    new
        
engine,
        
lights,
        
alarm,
        
doors,
        
bonnet,
        
boot,
        
objective,
        
string[60];
    
GetVehicleParamsEx(GetVehicleID(playerid), enginelightsalarmdoorsbonnetbootobjective);
    
SetVehicleParamsEx(GetPlayerVehicleID(playerid), truelightsalarmdoorsbonnetbootobjective);
    
format(string,sizeof(string), "* %s enciende con йxito el motor del vehнculo."Nombre_Sinbar(playerid));
    
ProxDetector(20.0playeridstringCOLOR_ME,COLOR_ME,COLOR_ME,COLOR_ME,COLOR_ME);
    return 
1;

Reply
#3

Lol gracias no me habia fijado :/ :P gracias alos dos <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)