bike system.
#1

hey so.. i dont know how to fix it..

first i use dialog to create bike:

Код:
new Engine, Lights, Alarm, Doors, Bonnet, Boot, Objective;
			CreateVehicle(510, -324.7136,1079.9130,19.7422,274.5824, -1, -1, 60);
			GetVehicleParamsEx(510, Engine, Lights, Alarm, Doors, Bonnet, Boot, Objective);
			SetVehicleParamsEx(510, true, false, Alarm, Doors, Bonnet, Boot, Objective);
			PutPlayerInVehicle(playerid, 510, 0);
			SendClientMessage(playerid, -1, "• Test Message");
			GivePlayerMoneyA(playerid, -100);
Later i use timer to check if server can destroy bike but server dont destroy it...

Код:
SetTimer("DestroyBikes", 60000, false);

}
forward DestroyBikes(playerid);
public DestroyBikes(playerid)
{
	DestroyVehicle(510);
	return 1;
Reply


Messages In This Thread
bike system. - by Karolukas123 - 18.08.2015, 06:12
Re: bike system. - by Dairyll - 18.08.2015, 06:18
Re: bike system. - by Denying - 18.08.2015, 06:22
Re: bike system. - by Karolukas123 - 18.08.2015, 06:23
Re: bike system. - by SickAttack - 18.08.2015, 06:25
Re: bike system. - by Denying - 18.08.2015, 06:25

Forum Jump:


Users browsing this thread: 1 Guest(s)