Toll wont open
#1

Hello.

I made this CMD so players can open tolls, but when i go and test ingame iots not working...

Closed
Код:
CreateObject(968,2077.0000000,39.4003900,26.3000000,0.0000000,268.0000000,270.0000000); //object(barrierturn)
Open
Код:
CreateObject(968,2077.0000000,39.4000000,26.3000000,0.0000000,0.0000000,272.0000000); //object(barrierturn) (1)
public
Код:
public Toll1()
{
	MoveObject(toll1,2077.0000000,39.4000000,26.3000000, 2.0);
	return 1;
}
CMD
Код:
CMD:toll(playerid,params[])
{
	if(PlayerToPoint(5, playerid,2077.0000000,39.4000000,26.3000000))
	{
		MoveObject(toll1,2077.0000000,39.4000000,26.3000000, 2.0);
		SetTimer("Toll1", 5000, 0);
		SendClientMessage(playerid,COLOR_LIGHTBLUE,"Plativte patarina -50.");
		GivePlayerMoney(playerid,-50);
	}
}
Reply


Messages In This Thread
Toll wont open - by Dimkata - 14.02.2019, 13:23
Re: Toll wont open - by TokicMajstor - 14.02.2019, 18:00
Re: Toll wont open - by Dimkata - 14.02.2019, 18:09
Re: Toll wont open - by TokicMajstor - 14.02.2019, 18:15
Re: Toll wont open - by TokicMajstor - 14.02.2019, 18:22
Re: Toll wont open - by Dimkata - 15.02.2019, 19:55
Re: Toll wont open - by TokicMajstor - 15.02.2019, 20:42
Re: Toll wont open - by Dimkata - 15.02.2019, 20:44

Forum Jump:


Users browsing this thread: 1 Guest(s)