Public isnt working
#1

Код:
public IsVehicleInRadius(playerid)
{
	for(new c=0;c<MAX_VEHICLES;c++)
	{
	    new Float:x, Float:y, Float:z;
		GetVehiclePos(c,x,y,z);
		if(5.0, playerid, x, y, z)
		{
		    return 1;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_YELLOW, "You're not at your car!");
		    return 1;
		}
	}
	return 1;
}
Gets me "Youre not at your car" even tho I am ON my vehicle..
Reply


Messages In This Thread
Public isnt working - by Ice-cup - 26.01.2011, 17:38
Re: Public isnt working - by [WF]Demon - 26.01.2011, 17:43
Re: Public isnt working - by Vince - 26.01.2011, 17:44
Re: Public isnt working - by Gabe - 26.01.2011, 17:45
Re: Public isnt working - by Ice-cup - 26.01.2011, 17:55

Forum Jump:


Users browsing this thread: 1 Guest(s)