[Ayuda] Respawn de vehнculos
#4

Soy nuevo scripteando y no se como se harнa eso, їme podrнan ayudar por favor?
Este es el CMD /v estacionar.


Код:
	        else if(strcmp(params[0],"estacionar",true) == 0)
	        {
	            if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return Message(playerid, COLOR_GREY, "No eres el conductor.");
				if(IsAnOwnableCar(idcar))
				{
				    if(PlayerInfo[playerid][pPcarkey] == 9999) return Message(playerid, COLOR_GREY, "Usted no tiene un coche.");
					if(idcar == PlayerInfo[playerid][pPcarkey])
					{
						GetVehiclePos(idcar, x, y, z);
						GetVehicleZAngle(idcar, a);
						CarInfo[idcar][cLocationx] = x;
						CarInfo[idcar][cLocationy] = y;
						CarInfo[idcar][cLocationz] = z;
						CarInfo[idcar][cAngle] = a;
						Message(playerid, COLOR_GRAD2, "Nuevas coordenadas guardadas. ЎAhora el vehнculo aparecerб aqui!");
                        OnPropUpdate(2);
						return 1;
 					}
 					else return Message(playerid, COLOR_GREY, "No estбs en tu vehнculo!");
				}
	        }
Reply


Messages In This Thread
[Ayuda] Respawn de vehнculos - by GAlvaro14 - 15.04.2013, 19:06
Respuesta: [Ayuda] Respawn de vehнculos - by [J]ulian - 15.04.2013, 19:15
Respuesta: [Ayuda] Respawn de vehнculos - by Dreyfuz - 15.04.2013, 19:16
Respuesta: [Ayuda] Respawn de vehнculos - by GAlvaro14 - 15.04.2013, 19:43
Respuesta: [Ayuda] Respawn de vehнculos - by Host - 15.04.2013, 20:32
Respuesta: [Ayuda] Respawn de vehнculos - by GAlvaro14 - 16.04.2013, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)