The Pawno Question?:o
#3

well right now i have this

Код:
	public OnPlayerStateChange(playerid, newstate, oldstate)
	{

	if( newstate == PLAYER_STATE_DRIVER )
	{
		if( GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425 ||
		GetVehicleModel(GetPlayerVehicleID(playerid)) == 432 )
		{
	      SendClientMessage(playerid, COLOR_LIGREEN, "<!> AS ENTRADO A UN VEHICULO DE GUERRA! NO PODRAS SALIR DE ESTA ZONA CON ESTE COCHE");
	     	SendClientMessage(playerid, COLOR_LIGREEN, "PARA PODER SALIR DE ZONA DE GUERRA SAL DEL VEHICULO DE I BUSCA OTRO COCHE QUE NO SEA DE ESTOS");
				SetPlayerWorldBounds(playerid, 677.3168, -478.7929, 2849.402, 1494.768);

		}
	}


	if( oldstate == PLAYER_STATE_DRIVER )
	{
	      SetPlayerWorldBounds(playerid, 3500.0000,-3500.0000,3500.0000,-3500.0000);

	}

	return 1;
	}
but theres times when a cheater comes in he teleports and uses cheats so the WorldBounds , Dont bring him back so i whant to make it so it just teleports back every time he croses the area .. u get it?

example: a c heater uses gravity or w/e it is "cheats" so the worldbounds dont let him go. i whant it so every time he users his "cheats" to try to get out of the area he eather gets killed or gets teleported back to a set of cords
Reply


Messages In This Thread
The Pawno Question?:o - by XeoN_13 - 01.04.2009, 21:17
Re: The Pawno Question?:o - by FUNExtreme - 01.04.2009, 21:19
Re: The Pawno Question?:o - by XeoN_13 - 01.04.2009, 21:21
Re: The Pawno Question?:o - by FUNExtreme - 01.04.2009, 21:23
Re: The Pawno Question?:o - by XeoN_13 - 01.04.2009, 21:29
Re: The Pawno Question?:o - by Think - 01.04.2009, 21:32
Re: The Pawno Question?:o - by XeoN_13 - 01.04.2009, 21:32
Re: The Pawno Question?:o - by FUNExtreme - 01.04.2009, 21:33
Re: The Pawno Question?:o - by Think - 01.04.2009, 21:35
Re: The Pawno Question?:o - by FUNExtreme - 01.04.2009, 21:40

Forum Jump:


Users browsing this thread: 1 Guest(s)