teleports y eso
#2

aca lo tienes
Код:
//----------------------------------[Comandos de Ciudades]----------------------------------
	if(strcmp(cmd, "/ciudades", true) == 0)
	{
	SendClientMessage(playerid, COLOR_VERDE, "|============================================================================|");
	SendClientMessage(playerid, COLOR_BLANCO," /ls, /sf, /lv           													   ");
	SendClientMessage(playerid, COLOR_VERDE, "|============================================================================|");

	return 1;
}
	if(strcmp(cmd, "/ls", true) == 0)
	{
	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
	SetVehiclePos(GetPlayerVehicleID(playerid), 1486.61, -1738.65, 13.55);
	SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.6323);
	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
	}
	else
	{
	SetPlayerPos(playerid, 1486.61, -1738.65, 13.55);
	}
	TogglePlayerControllable(playerid, 1);
	SetPlayerInterior(playerid, 0);
	ResetPlayerWeapons(playerid);
	GetPlayerName(playerid, sendername, sizeof(sendername));
    new string[256];
	format(string, sizeof(string), "Ў%s ha decidido ir a la ciudad! (/ls)", sendername);
	SendClientMessageToAll(COLOR_VERDE_CLARO, string);
	return 1;
}
	if(strcmp(cmd, "/sf", true) == 0)
	{
	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
	SetVehiclePos(GetPlayerVehicleID(playerid), -1501.70, 920.28, 7.19);
	SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.6323);
	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
	}
	else
	{
	SetPlayerPos(playerid, -1501.70, 920.28, 7.19);
	}
	TogglePlayerControllable(playerid, 1);
	SetPlayerInterior(playerid, 0);
	ResetPlayerWeapons(playerid);
	GetPlayerName(playerid, sendername, sizeof(sendername));
    new string[256];
	format(string, sizeof(string), "Ў%s ha decidido ir a la ciudad! (/sf)", sendername);
	SendClientMessageToAll(COLOR_VERDE_CLARO, string);
	return 1;
}
	if(strcmp(cmd, "/lv", true) == 0)
	{
	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
	SetVehiclePos(GetPlayerVehicleID(playerid), 2003.02, 1542.94, 13.59);
	SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.6323);
	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
	}
	else
	{
	SetPlayerPos(playerid, 2003.02, 1542.94, 13.59);
	}
	TogglePlayerControllable(playerid, 1);
	SetPlayerInterior(playerid, 0);
	ResetPlayerWeapons(playerid);
	GetPlayerName(playerid, sendername, sizeof(sendername));
    new string[256];
	format(string, sizeof(string), "Ў%s ha decidido ir a la ciudad! (/lv)", sendername);
	SendClientMessageToAll(COLOR_VERDE_CLARO, string);
	return 1;
}
FUENTE: Yo xDD
Reply


Messages In This Thread
teleports y eso - by Guns - 31.10.2010, 19:45
Respuesta: teleports y eso - by benjas09 - 31.10.2010, 19:56
Re: teleports y eso - by Guns - 31.10.2010, 20:02
Respuesta: teleports y eso - by benjas09 - 31.10.2010, 20:12
Re: Respuesta: teleports y eso - by Guns - 31.10.2010, 20:36
Re: Respuesta: teleports y eso - by Miguel - 31.10.2010, 20:58
Re: Respuesta: teleports y eso - by Guns - 31.10.2010, 21:55
Respuesta: Re: Respuesta: teleports y eso - by TheChaoz - 31.10.2010, 22:54
Respuesta: Re: Respuesta: teleports y eso - by pagaromx96 - 01.11.2010, 03:02
Respuesta: teleports y eso - by SuperMarioRol - 01.11.2010, 10:28

Forum Jump:


Users browsing this thread: 1 Guest(s)