Question

Ребят помогите убрать варнинг 

(17411) : warning 213: tag mismatch
(17416) : warning 213: tag mismatch



CMD:fixcar(playerid, params[])
{
	if(PlayerLogged[playerid] == 0) return true;  // ТУТ [17411]
	new full=0;
	if(GetMoney(playerid) < MONEY_FOR_FIXCAR) return SendClientMessage(playerid, COLOR_GREY, YouDoNotHaveEnoughMoney);
	for(new i; i < MAX_PLAYERS; i++)
	{
		if(!IsPlayerConnected(i) || PlayerLogged[i] == 0) continue;  // ТУТ [17416]
		if(IsPlayerInVehicle(i, GetPlayerCar(playerid))) full++; break;
	}
	if(full != 0) return SendClientMessage(playerid, COLOR_GREY, "В транспорте находятся более 1 игрока!");
	PI[playerid][cFuel] = Fuel[GetPlayerCar(playerid)];
	Delete3DTextLabel(VehicleLabel[GetPlayerCar(playerid)]);
	DestroyVehicleOP(GetPlayerCar(playerid));
	SendClientMessage(playerid, COLOR_YELLOW, "Ваш транспорт доставлен к вашей парковке");
	GameTextForPlayer(playerid, "сАR IS рАRкеD", 5000, 1);
	GiveMoney(playerid, -MONEY_FOR_FIXCAR);
	LoadMyCar(playerid);
	return true;
}

 

Edited by User#6315

Share this post


Link to post

1 answer to this question

  • 0

как объявлен 

PlayerLogged[playerid] 

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content