SA-MP Forums Archive
Duda - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Duda (/showthread.php?tid=626543)



Duda - SheerlockHolmess - 16.01.2017

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;
}



Re: Duda - RIDE2DAY - 16.01.2017

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;




Respuesta: Duda - SheerlockHolmess - 17.01.2017

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