Bug of checking position?
#6

i have fixed, but location is wrong...

Код:
if(PlayerToPoint(25.0, playerid,-28.2725,-89.9479,1003.5469))
			{
        asukohtpood[playerid] = 1; // Unity pood
			}
			else if(PlayerToPoint(25.0, playerid,-23.4549,-55.6300,1003.5469))
			{
				asukohtpood[playerid] = 2; // Commite pood
			}
			else if(PlayerToPoint(25.0, playerid,-28.2130,-89.9546,1003.5469))
			{
			  asukohtpood[playerid] = 3; // Vinewood pood
			}
			else if(PlayerToPoint(25.0, playerid,373.7992,-67.4014,1001.5078))
			{
				asukohtpood[playerid] = 4; // Vinewood hamburger
			}
and

Код:
new poodnimi[128];
				if(asukohtpood[playerid] == 1)
				{
				  poodnimi = "Unity pood";
				}
				else if(asukohtpood[playerid] == 2)
				{
				  poodnimi = "Commite pood";
				}
				else if(asukohtpood[playerid] == 3)
				{
				  poodnimi = "Vinewood pood";
				}
				else if(asukohtpood[playerid] == 4)
				{
				  poodnimi = "Vinewood hamburger";
				}
				else
				{
				  poodnimi = "Teadmata";
				}
I rob Vinewood shop, then police shows it Unity shop, must be Vinewood shop
Reply


Messages In This Thread
Bug of checking position? - by Mechscape - 24.04.2010, 14:26
Re: Bug of checking position? - by KeyWay - 24.04.2010, 15:27
Re: Bug of checking position? - by pierhs - 24.04.2010, 15:28
Re: Bug of checking position? - by KeyWay - 24.04.2010, 15:30
Re: Bug of checking position? - by CAR - 24.04.2010, 15:34
Re: Bug of checking position? - by Mechscape - 24.04.2010, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)