s3da7iv Posted February 6, 2012 Posted February 6, 2012 Salut,caut si eu un script pentru a putea aprinde / stinge farurile si sa deschid portbagajul si capota .Ma puteti ajuta va rog
cosmon Posted February 6, 2012 Posted February 6, 2012 http://forum.sa-mp.com/showthread.php?t=267125http://forum.sa-mp.com/showthread.php?t=303332http://forum.sa-mp.com/showthread.php?t=197115Se pare ca nu ai cautat suficient !
LTh_LeThaL Posted February 7, 2012 Posted February 7, 2012 Poftim;new LightsStatus[MAX_PLAYERS]; if(strcmp(cmd,"/faruri",true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { if(vehicle != INVALID_VEHICLE_ID) { if(LightsStatus[playerid] == 0) { GetVehicleParamsEx(vehicle,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(vehicle,engine,VEHICLE_PARAMS_ON,alarm,doors,bonnet,boot,objective); LightsStatus[playerid] = 1; SendClientMessage(playerid, 0xFFFFFFAA, "Farurile vehiculului sunt acum pornite"); } else if(LightsStatus[playerid] == 1) { GetVehicleParamsEx(vehicle,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(vehicle,engine,VEHICLE_PARAMS_OFF,alarm,doors,bonnet,boot,objective); LightsStatus[playerid] = 0; SendClientMessage(playerid, 0xFFFFFFAA, "Farurile vehiculului sunt acum oprite"); } } } else { SendClientMessage(playerid, 0x00FF00FF, "Ne pare rau, dar nu esti intr-o masina."); } return 1; } <a href="http://www.userbars.be"><img src="http://img534.imageshack.us/img534/9098/36589.gif" alt="Free userbars" border="0"></a>
Question
s3da7iv
Salut,caut si eu un script pentru a putea aprinde / stinge farurile si sa deschid portbagajul si capota .Ma puteti ajuta va rog
2 answers to this question
Recommended Posts