25.06.2012, 09:47
pawn Код:
if(InsertInfoHere == DIALOG_CARS+5) //For lock
{
switch(listitem)
{
case 0:
{
if(pInfo[playerid][Veh1] != 9999)
{
C_Data[pInfo[playerid][Veh1]][Lock] = 1;
CheckCar(pInfo[playerid][Veh1]);
}
}
case 1:
{
if(pInfo[playerid][Veh2] != 9999)
{
C_Data[pInfo[playerid][Veh2]][Lock] = 1;
CheckCar(pInfo[playerid][Veh2]);
}
}
case 2:
{
if(pInfo[playerid][Veh3] != 9999)
{
C_Data[pInfo[playerid][Veh3]][Lock] = 1;
CheckCar(pInfo[playerid][Veh3]);
}
}
}
return 1;
}