ovaj kod treba zamrznut igraca ako ima hotwire alat kada ude u Carshop auto ali neradi
evo kod


public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == 2)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(GetCreatorID(vehicleid)!=0)
{
Tunen(vehicleid);
   if (strmatch(VehicleSystem[GetCreatorID(vehicleid)],Spielername(playerid)))
   {
SendClientMessage(playerid,GREEN," Dobrodosli nazad u svoje vozilo");
   }
   else if(strmatch(VehicleSystem[GetCreatorID(vehicleid)],"dealercar"))
   {
   if(!IsPlayerAdmin(playerid)){
   TogglePlayerControllable(playerid,0);}
   new fffx;
   format(fffx,sizeof(fffx),"Ovo vozilo je na prodaju. ~n~Cijena: ~g~ %d$",VehicleSystem[GetCreatorID(vehicleid)]);
   GameTextForPlayer(playerid,fffx, 5000, 3);
   SendClientMessage(playerid,YELLOW,"Kucajte /vkupi da ga kupite. Ako nezelite kupiti ovo vozilu kucajte /exitv");
   }
   else
   {
   
   new ex;
   format(ex,sizeof(ex),"Vlasnik: ~g~ %s",VehicleSystem[GetCreatorID(vehicleid)]);
   GameTextForPlayer(playerid, ex, 5000, 1);
   
    if(Groceries == 1 )
      {
         TogglePlayerControllable(playerid, 0);
      SendClientMessage(playerid, ORANGE, "   Imas kod sebe HotWire alat, ako zelis ukrasti auto upisi /hotwire, ako ne zelis /exitv !");
      return 1;
      }
else
{
RemovePlayerFromVehicle(playerid);

}

   return 1;
   }

   }
   }

return 1;
}

HELP