moveobject help
#5

COMMAND:close_gov123(playerid, params[])

Replace spaces with "_" or make simpler commands.

Anyway

Код:
COMMAND:open_gov123(playerid, params[])
{
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -2819.3171,  2651.5464, 103.3268))
		{
		MoveObject(pgate1, -2819.3171, 2648.8591, 103.3268, 6.0);
		return 1;
		}
    if(IsPlayerInRangeOfPoint(playerid, 5.0, 2855.7476,  2665.3562, 106.6561))
		{
		MoveObject(pgate2, -2855.7476, 2668.2810, 106.6561, 6.0);
		return 1;
		}
return 1;
}

COMMAND:close_gov123(playerid, params[])
{
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -2819.3171,  2651.5464, 103.3268))
		{
		MoveObject(pgate1, -2819.3171,  2651.5464, 103.3268, 6.0);
		return 1;
		}
   if(IsPlayerInRangeOfPoint(playerid, 5.0, 2855.7476,  2665.3562, 106.6561))
		{
		MoveObject(pgate2, 2855.7476,  2665.3562, 106.6561, 6.0);
		return 1;
		}
return 1;
}
Reply


Messages In This Thread
moveobject help - by Mattakil - 07.04.2013, 17:23
Re: moveobject help - by Mattakil - 07.04.2013, 18:18
Re: moveobject help - by SilverKiller - 07.04.2013, 19:20
Re: moveobject help - by Riddick94 - 07.04.2013, 19:35
Re: moveobject help - by ReVo_ - 07.04.2013, 19:36

Forum Jump:


Users browsing this thread: 2 Guest(s)