Object Move gate warning 202
#1

Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
	if(newkeys == KEY_FIRE && IsPlayerInRangeOfPoint(playerid,1.5,1340.401855, 1554.684082, 12.430313))
	{
	    if(state1 == 0) { MoveObject(Gate,1400.000000, 1554.684082, 12.430313,1.0,0.000000, 0.000000, 90.000000, 300.00); state1 = 1;
		}
	    else
		{
		MoveObject(Gate,1340.401855, 1554.684082, 12.430313,1.0,0.000000, 0.000000, 90.000000, 300.00); state1 = 0;
		}
	}
	return 1;
}
Warning 202
Код:
if(state1 == 0) { MoveObject(Gate,1400.000000, 1554.684082, 12.430313,1.0,0.000000, 0.000000, 90.000000, 300.00); state1 = 1;
Код:
MoveObject(Gate,1340.401855, 1554.684082, 12.430313,1.0,0.000000, 0.000000, 90.000000, 300.00); state1 = 0;
Reply


Messages In This Thread
Object Move gate warning 202 - by skiplovebra - 23.09.2018, 12:02
Re: Object Move gate warning 202 - by Florin48 - 23.09.2018, 15:21
Re: Object Move gate warning 202 - by TheToretto - 23.09.2018, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)