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

    • Redmondd
      By Redmondd
      При запуске сервера в консоли пишет: Started server on port: 7777, with maxplayers: 500 lanmode is OFF.
      И когда захожу на сервер пишет server didnt respond
       
      ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team filterscripts = ""  (string) Server Plugins --------------  Loading plugin: mysql   > MySQL plugin R7-2 successfully loaded.   Loaded.  Loading plugin: sscanf  ===============================       sscanf plugin loaded.          Version:  2.8.1    (c) 2012 Alex "Y_Less" Cole  ===============================   Loaded.  Loading plugin: dc_cmd   Daniel's CMD plugin v2.8     (c) 2014 Daniel_Cortez         www.pro-pawn.ru   Loaded.  Loading plugin: streamer *** Streamer Plugin v2.7.9 by Incognito loaded ***   Loaded.  Loaded 4 plugins. Started server on port: 7777, with maxplayers: 500 lanmode is OFF. Filterscripts ---------------   Loaded 0 filterscripts. Подключение к базе данных MYSQL успешно ---------------------------------- --------Redmond RP 01-------- ---------------------------------- Number of vehicle models: 5 Склады загружены успешно Дома (15 шт) загружены успешно