Enterance
#5

Try this:
Код:
CMD:enter(playerid, params[])
{
	for(new i=0; i<MAX_BUSS; i++)
	{
		format(String,sizeof(String),"Business/%i.ini",i);
        
		if(dini_Exists(String))
		{
			if (PlayerToPoint(1.0, playerid,dini_Float(String, "BusX"),dini_Float(String, "BusY"),dini_Float(String, "BusZ")))
			{
				SendClientMessage(playerid,COLOR_GREY,"works");
				SetPlayerPos(playerid,dini_Float(String, "EnterX"),dini_Float(String, "EnterY"),dini_Float(String, "EnterZ")+1);
			}
		}
	}
	return 1;
}
Reply


Messages In This Thread
Enterance - by jaksimaksi - 13.08.2011, 05:54
Re: Enterance - by Darnell - 13.08.2011, 06:18
AW: Enterance - by jaksimaksi - 13.08.2011, 07:44
AW: Enterance - by jaksimaksi - 13.08.2011, 10:38
Re: Enterance - by IstuntmanI - 13.08.2011, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)