Problem personal car.
#3

Код:
CMD:buycar(playerid, params[])
{
	if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login pin.");
	if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid,COLOR_WHITE,"{FFB870}Please get out of the car.");
	if(IsPlayerInRangeOfPoint(playerid, 7.0, 328.3534,-1513.1687,36.0391))
	{
		if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}You need to be level 3 to buy a vehicle.");
		BuyCar[playerid] = -1;
		ShowPlayerDialog(playerid,DIALOG_CARBUY, DIALOG_STYLE_LIST, "Buy a car", "Cheap cars\nRegular cars\nExpensive cars", "Select", "Close");
	}
	else return SCM(playerid,COLOR_WHITE,"{FFB870}You are not the place where you can buy a car.");
  	return 1;
}
Reply


Messages In This Thread
Problem personal car. - by Mititel - 22.09.2016, 17:07
Re: Problem personal car. - by Pizzy - 22.09.2016, 17:11
Re: Problem personal car. - by Mititel - 22.09.2016, 17:50
Re: Problem personal car. - by ThatFag - 22.09.2016, 18:08
Re: Problem personal car. - by Mititel - 22.09.2016, 18:20
Re: Problem personal car. - by ThatFag - 22.09.2016, 18:33
Re: Problem personal car. - by Mititel - 23.09.2016, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)