enter key doesn't work ..
#4

PlayerToPoint

Код:
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
	if(IsPlayerConnected(playerid))
	{
		new Float:oldposx, Float:oldposy, Float:oldposz;
		new Float:tempposx, Float:tempposy, Float:tempposz;
		GetPlayerPos(playerid, oldposx, oldposy, oldposz);
		tempposx = (oldposx -x);
		tempposy = (oldposy -y);
		tempposz = (oldposz -z);
		if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
		{
			return 1;
		}
	}
	return 0;
}
Reply


Messages In This Thread
enter key doesn't work .. - by Lukasz56 - 30.01.2015, 08:47
Re: enter key doesn't work .. - by Lukasz56 - 30.01.2015, 09:27
Re: enter key doesn't work .. - by Gammix - 30.01.2015, 09:31
Re: enter key doesn't work .. - by Lukasz56 - 30.01.2015, 09:34
Re: enter key doesn't work .. - by CalvinC - 30.01.2015, 09:37
Re: enter key doesn't work .. - by Lukasz56 - 30.01.2015, 09:40
Re: enter key doesn't work .. - by Gammix - 30.01.2015, 09:42
Re: enter key doesn't work .. - by Lukasz56 - 30.01.2015, 09:47

Forum Jump:


Users browsing this thread: 1 Guest(s)