[pomoc]warning 213: tag mismatch

Započeo [MG]uNiqu3, Novembar 05, 2013, 20:35:45 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:
Detaljan opis problema: (1351) : warning 213: tag mismatch kako da sredim ovaj warn!
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
   if(!ispassenger || ispassenger)
   {
      new playername[24];
      GetPlayerName(playerid, playername, sizeof(playername));
      new id = GetVehicleID(vehicleid);
      if(!strcmp(VehicleOwner[id], playername) == 0) //ovaj je warning
      {
         if(VehicleLock[id] == 1)
            {
            new string[100];
            new Float:x, Float:y, Float:z;
            GetPlayerPos(playerid, x, y ,z);
            SetPlayerPos(playerid, x, y+0.0000001 ,z);
         }
         else if(VehicleLock[id] == 0 && VehicleCreated[id] >= 2)
         {
            new msg[128];
            format(msg, sizeof(msg), ">>Vlasnik: %s", VehicleOwner[id]);
            SendClientMessage(playerid, COLOR_YELLOW, msg);
         }
      }
   }
   return 1;
}
MegaGaming RolePlay

Uskoro!

Jer moze pomoc ili kaj da procitam daj objasni?
MegaGaming RolePlay

Uskoro!

Daj be neko pomoc plss ne razumem
MegaGaming RolePlay

Uskoro!


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
   if(!ispassenger || ispassenger)
   {
      new playername[24];
      GetPlayerName(playerid, playername, sizeof(playername));
      new id = GetVehicleID(vehicleid);
      if(!strcmp(VehicleOwner[id], playername,true))
      {
         if(VehicleLock[id] == 1)
            {
            new string[100];
            new Float:x, Float:y, Float:z;
            GetPlayerPos(playerid, x, y ,z);
            SetPlayerPos(playerid, x, y+0.0000001 ,z);
         }
         else if(VehicleLock[id] == 0 && VehicleCreated[id] >= 2)
         {
            new msg[128];
            format(msg, sizeof(msg), ">>Vlasnik: %s", VehicleOwner[id]);
            SendClientMessage(playerid, COLOR_YELLOW, msg);
         }
      }
   }
   return 1;
}
Poslednja Izmena: Novembar 05, 2013, 22:13:37 POSLE PODNE od Ermin