[Help]Respawn Cars
#1

Ingles:
[b] Hello friends to make a Respawn encendienden cars but do not move, such as Respawn ago, and I Suvo eciende a car, but does not move and the only way to start is with / vControl and there is a dialog if moves but with the motor / no, if I restart the server and still no respawn ago if they move but respawn after all .. [/ b]

I clarify:
* If you restart the server if it works.
* The Respawn ago and does not work.
* with the / rac is the same.
* and nothing I try thawing.

Spanish:
Hola amigos al hacer un Respawn los autos encendienden pero no se mueven , ejemplo ago Respawn , y me suvo a un auto eciende , pero no se mueve y la unica forma de encender es con /vcontrol y es un dialog hay si se mueve pero con el /motor no , si reinicio el server y aun no ago el respawn si se mueven pero luego del respawn nada..

Aclaro:
*Si reinicio el server si funciona.
*ago el Respawn y no funciona.
*con el /rac pasa lo mismo.
*intente descongelando me y nada.
Reply
#2

I understand English is not your native/primary language but can you please explain , what do you want exactly?

Your server cars doesnt start? Or they dont respawn? Please clear this thread.
Reply
#3

when I do a respawn cars do not turn on (/ motor)
Reply
#4

Okay give me the command /motor from your game mode. I will fix it.
Reply
#5

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
Okay give me the command /motor from your game mode. I will fix it.

Код:
	if(!strcmp(cmd, "/Motor", true))
	{
	    if(IsPlayerConnected(playerid))
	    {
   			if(!IsPlayerInAnyVehicle(playerid))
			{
		          SendClientMessage(playerid, COLOR_GREY, "Debes Estar en Un Coche para Usar el Comando");
		          return 1;
	        	}
	    		if(!engineOn[GetPlayerVehicleID(playerid)])
	    		{
	        		if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
					{
						return 1;
					}
					if(IsAnOwnableCar(idcar))
					{
						if(PlayerInfo[playerid][pPcarkey] == idcar) { }
						else if(PlayerInfo[playerid][pPcarkey2] == idcar) { }
						else { return 1; }
					}
					if(pveh == 510 || pveh == 462 || pveh == 481 || pveh == 509)
					{
						return 1;
					}
					if(idcar == 59 || idcar == 60)
					{
						return 1;
					}
					if(idcar >= 135 && idcar <= 154)
					{
					    if(HireCar[playerid] != idcar)
					    {
							return 1;
						}
					}
					if(IsAPlane(idcar))
					{
					    return 1;
					}
					if(IsAHarvest(idcar))
					{
					    return 1;
					}
					if(IsADrugHarvest(idcar))
					{
					    return 1;
					}
					if(IsASweeper(idcar))
					{
					    return 1;
					}
					if(IsASweeper(idcar))
					{
					    return 1;
					}
					if(gEngine[playerid] == 1) { return 1; }

					new playerveh = GetPlayerVehicleID(playerid);
					PutPlayerInVehicle(playerid, playerveh, 0);
					GetPlayerName(playerid, sendername, sizeof(sendername));
					format(string, sizeof(string), "* %s pone las llaves en el rotor e intenta encender el vehнculo", sendername);
					ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
					SetTimerEx("StartingTheVehicle",3500,0,"i",playerid);
					GameTextForPlayer(playerid, "~b~Encendiendo Vehiculo...",3500,3);
					gEngine[playerid] = 1;
					return 1;
				}
				if(engineOn[GetPlayerVehicleID(playerid)])
	    		{
	        		if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
					{
						return 1;
					}
					if(IsAnOwnableCar(idcar))
					{
					    if(PlayerInfo[playerid][pPcarkey] == idcar) { }
					    else if(PlayerInfo[playerid][pPcarkey2] == idcar) { }
						else { return 1; }
					}
					if(pveh == 510 || pveh == 462 || pveh == 481 || pveh == 509)
					{
						return 1;
					}
					if(idcar == 59 || idcar == 60)
					{
						return 1;
					}
					if(idcar >= 135 && idcar <= 154)
					{
					    if(HireCar[playerid] != idcar)
					    {
							return 1;
						}
					}
					if(IsAHarvest(idcar))
					{
					    return 1;
					}
					if(IsADrugHarvest(idcar))
					{
					    return 1;
					}
					if(IsAPlane(idcar))
					{
					    return 1;
					}
					if(IsASweeper(idcar))
					{
					    return 1;
					}
					engineOn[GetPlayerVehicleID(playerid)] = false;
					TogglePlayerControllable(playerid, 0);
					GetPlayerName(playerid, sendername, sizeof(sendername));
					format(string, sizeof(string), "* %s apaga el motor del vehнculo", sendername);
					ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
					gEngine[playerid] = 0;
					return 1;
				}

	    }
	    return 1;
	}
PD: also I have another system that is on Dialog and that if he walks
Reply
#6

The engine of the vehicle doesnt stop? I mean the cars headlights and everything is still on even u do /motor to turn off the engine?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)