PHP код:
CMD:comprar(playerid, params[])
{
new item[17],day,month,year,idjugador;
getdate(day,month,year);
if(IsPlayerConnected(playerid))
if(!sscanf(params, "s[17]", item))
{
if(strcmp(item,"entrada",true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,4.5,-1253.2917,2116.7095,1246.5457))
{
if(Alquilado == true)
{
if(PlayerInfo[playerid][jNivel] >= NivelSalon)
{
if(Boleto[playerid] == false)
{
if(PlayerInfo[playerid][jDinero] < PrecioSalon) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. para comprar uma entrada."); //Cambiar GetPlayerMoney
Boleto[playerid] = true;
SendClientMessage(playerid,-1,"Vocк comprou uma entrada.");
QuitarDinero(playerid,PrecioSalon);
Personas ++;
}
else SendClientMessage(playerid,-1,"Vocк jб tem uma entrada.");
}
else SendClientMessage(playerid,-1,"Vocк nгo tem nнvel necessбrio para entrar no salгo.");
}
else SendClientMessage(playerid,-1,"Nгo hб nenhum evento no momento.");
}
else if(IsPlayerInRangeOfPoint(playerid,7,1101.2697,1613.1414,12.5469))
{
if(HabilitarCarreras == 0) return SendClientMessage(playerid,-1,"A bilheteria estб fechada no momento.");
if(EntradaCarrera[playerid] == true) return SendClientMessage(playerid,-1,"Vocк jб tem uma entrada.");
if(PlayerInfo[playerid][jDinero] < 600) return SendClientMessage(playerid,-1,"Vocк precisa de {00CC00}$600{FFFFFF} para comprar uma entrada.");
QuitarDinero(playerid,600);
EntradaCarrera[playerid] = true;
SendClientMessage(playerid,-1,"{00CC00}Vocк comprou uma entrada{FFFFFF}, jб pode entrar no estadio.");
return 1;
}
}
if(strcmp(item,"sementes",true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,-1072.1710,-1202.1224,129.2188))
{
if(PlayerInfo[playerid][jDinero] < 1500) return SendClientMessage(playerid, 0xFFFFFFFF, "Vocк nгo tem dinheiro o suficiente. ($1500)");
PlayerInfo[playerid][pSemillas] += 50;
QuitarDinero(playerid, 1500);
SendClientMessage(playerid, 0xFFFFFFFF, "Vocк comprou 50 sementes de maconha, escreva {DBED15}/sembrar{FFFFFF}.");
//SendClientMessage(playerid, 0xFFFFFFFF, "Vocк comprou 50 sementes de maconha.");
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,-1103.5033,-1620.6311,76.3672))
{
if(PlayerInfo[playerid][jDinero] < 1500) return SendClientMessage(playerid, 0xFFFFFFFF, "Vocк nгo tem dinheiro o suficiente. ($1500)");
PlayerInfo[playerid][pSemillas] += 50;
QuitarDinero(playerid, 1500);
//SendClientMessage(playerid, 0xFFFFFFFF, "Vocк comprou 50 sementes de maconha, use: {DBED15}/sembrar{FFFFFF}");
//SendClientMessage(playerid, 0xFFFFFFFF, "Vocк comprou 50 sementes de maconha.");
return 1;
}
}
if(strcmp(item,"estacionamiento",true) == 0)
{
SendClientMessage(playerid, -1, "Vocк nгo tem nнvel o suficiente para comprar este estacionamento.");
}
if(strcmp(item,"caixa",true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,93.7855,-305.2337,1.5781))
{
if(Objeto[playerid] > 0) return SendClientMessage(playerid,-1,"Vocк jб tem esse objeto em seu inventбrio.");
if(PlayerInfo[playerid][jDinero] < 40) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($1560)");
SetPlayerAttachedObject(playerid, 2, 2969, 6, 0.137999,0.039999,-0.168998,66.699996,-162.999877,-95.900085,0.533998,0.622999,0.756998);
Objeto[playerid] = 10000;
QuitarDinero(playerid, 1560);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
SendClientMessage(playerid, -1, "Vocк comprou uma caixa de aqualife de 12 unidades por {00CC00}$1560{FFFFFF}.");
SendClientMessage(playerid, -1, "Vocк pode guardar, usando: {DBED15}/portamala guardar objeto{FFFFFF} para retirar, use: {DBED15}/tirar objeto{FFFFFF}.");
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,93.7853,-309.5841,1.5781))
{
if(Objeto[playerid] > 0) return SendClientMessage(playerid,-1,"Vocк jб tem esse objeto em seu inventбrio.");
if(PlayerInfo[playerid][jDinero] < 40) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($600)");
SetPlayerAttachedObject(playerid, 2, 2969, 6, 0.137999,0.039999,-0.168998,66.699996,-162.999877,-95.900085,0.533998,0.622999,0.756998);
Objeto[playerid] = 10001;
QuitarDinero(playerid, 600);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
SendClientMessage(playerid, -1, "Vocк comprou uma caixa de vinho de 12 unidades por {00CC00}$600{FFFFFF}.");
SendClientMessage(playerid, -1, "Vocк pode guardar, usando: {DBED15}/portamala guardar objeto{FFFFFF} para retirar, use: {DBED15}/tirar objeto{FFFFFF}.");
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,93.7853,-313.7030,1.5781))
{
if(Objeto[playerid] > 0) return SendClientMessage(playerid,-1,"Vocк jб tem esse objeto em seu inventбrio.");
if(PlayerInfo[playerid][jDinero] < 40) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($480)");
SetPlayerAttachedObject(playerid, 2, 2969, 6, 0.137999,0.039999,-0.168998,66.699996,-162.999877,-95.900085,0.533998,0.622999,0.756998);
Objeto[playerid] = 10002;
QuitarDinero(playerid, 480);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
SendClientMessage(playerid, -1, "Vocк comprou uma caixa de cerveja de 12 unidades por {00CC00}$480{FFFFFF}.");
SendClientMessage(playerid, -1, "Vocк pode guardar, usando: {DBED15}/portamala guardar objeto{FFFFFF} para retirar, use: {DBED15}/tirar objeto{FFFFFF}.");
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,86.0509,-315.2853,1.8494))
{
if(Objeto[playerid] > 0) return SendClientMessage(playerid,-1,"Vocк jб tem esse objeto em seu inventбrio.");
if(PlayerInfo[playerid][jDinero] < 40) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($480)");
SetPlayerAttachedObject(playerid, 2, 2969, 6, 0.137999,0.039999,-0.168998,66.699996,-162.999877,-95.900085,0.533998,0.622999,0.756998);
Objeto[playerid] = 10003;
QuitarDinero(playerid, 480);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
SendClientMessage(playerid, -1, "Vocк comprou uma caixa de sprunk de 12 unidades por {00CC00}$480{FFFFFF}.");
SendClientMessage(playerid, -1, "Vocк pode guardar, usando: {DBED15}/portamala guardar objeto{FFFFFF} para retirar, use: {DBED15}/tirar objeto{FFFFFF}.");
return 1;
}
}
if(strcmp(item,"nivel",true)==0)
{
if(PlayerInfo[playerid][jNivel] >= 1)
{
new infostring[128];
if(PlayerInfo[playerid][jExperiencia] < PlayerInfo[playerid][NivelExp])
{
format(infostring, 128, "Vocк precisa de {F4FA58}%d{FFFFFF} puntos de respeto para ir para o prуximo nнvel, atualmente vocк tem %d",PlayerInfo[playerid][NivelExp],PlayerInfo[playerid][jExperiencia]);
SendClientMessage(playerid, COLOR_BLANCO, infostring);
return 1;
}
else
{
if(PlayerInfo[playerid][jDinero] < PlayerInfo[playerid][PrecioNivel])
{
format(infostring,128,"Vocк precisa de {00CC00}$%d{FFFFFF} para comprar o prуximo nнvel.",PlayerInfo[playerid][PrecioNivel]);
return SendClientMessage(playerid,-1,infostring);
}
SendClientMessage(playerid, 0xFFFF00FF,"Parabйns! vocк aumentou de nнvel. Agora o seu pagamento diбrio serб maior.");
PlayerInfo[playerid][jNivel]++;
SetPlayerScore(playerid, PlayerInfo[playerid][jNivel]);
PlayerInfo[playerid][jExperiencia] = 0;
QuitarDinero(playerid, PlayerInfo[playerid][PrecioNivel]);
CalcularNivel(playerid);
SetProgressBarMaxValue(XP[playerid], PlayerInfo[playerid][NivelExp]);
SetProgressBarValue(XP[playerid], PlayerInfo[playerid][jExperiencia]);
UpdateProgressBar(XP[playerid],playerid);
Actualizar(playerid);
SetPlayerStats(playerid);
RevisarLogroNivel(playerid);
return 1;
}
}
return 1;
}
if(strcmp(item, "ferramentas",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,-1072.1169,354.2132,1180.5259))
{
new string[160];
format(string, 160, "{FFFFFF}Martelo: {00CC00}$20{FFFFFF}\n{FFFFFF}Chave de fenda: {00CC00}$25{FFFFFF}\n{FFFFFF}Marreta: {00CC00}$60{FFFFFF}\n{FFFFFF}Balde: {00CC00}$120");
ShowPlayerDialog(playerid,HERRAMIENTAS, DIALOG_STYLE_LIST,"Herramientas",string,"Comprar","Cancelar");
return 1;
}
}
if(strcmp(item, "licenca",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,1162.5385,-2.6774,1020.6459))
{
ShowPlayerDialog(playerid, COMPRARLICENCIA, DIALOG_STYLE_MSGBOX, "Licenзa de piloto","O custo da licenзa de piloto й de 20HZ e nгo й vбlido.\n(( Se vocк usar um helicуpteros de maneira inadequada, a licenзa serб removida e o dinheiro nгo serб devolvido))","Comprar","Cancelar");
return 1;
}
}
if(strcmp(item, "bilhete",true)==0)
{
if(!IsAtTrenStation(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo pode comprar bilhetes nesse lugar.");
if(PlayerInfo[playerid][jDinero] < 100) return SendClientMessage(playerid, -1, "Vocк nгo tem dinheiro o suficiente. para comprar um bilhete ({00CC00}100${FFFFFF}).");
SendClientMessage(playerid, -1, "Muito obrigado! por comprar um bilhete, sу й vбlido para uma viagem.");
QuitarDinero(playerid,100);
Boletos[playerid] = 1;
return 1;
}
if(strcmp(item, "sprunk",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,498.6868,-76.0385,998.7578) || IsPlayerInRangeOfPoint(playerid,5.0,-225.1540,1404.1327,27.7734))
{
if(PlayerInfo[playerid][jDinero] < 70) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($70)");
TieneSprunk[playerid] = 100;
QuitarDinero(playerid, 70);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_SPRUNK);
SendClientMessage(playerid, -1, "Vocк comprou um copo de sprunk por {00F000}70$");
SendClientMessage(playerid, -1, "Pressione {DBED15}LMB{FFFFFF} para beber.");
return 1;
}
if(
IsPlayerInRangeOfPoint(playerid,5.0,1161.3102,-7.5683,1020.6459) ||
IsPlayerInRangeOfPoint(playerid,5.0,-19.4871,-180.4452,1007.7656) ||
IsPlayerInRangeOfPoint(playerid,5.0,-404.43790, -1433.28833, 25.81980) ||
IsPlayerInRangeOfPoint(playerid,5.0,-392.41141, 2244.42090, 42.52640) ||
IsPlayerInRangeOfPoint(playerid,5.0,365.3715,165.4839,1040.1156) ||
IsPlayerInRangeOfPoint(playerid,5.0,172.1788,1431.5389,10.5912)
)
{
if(PlayerInfo[playerid][jDinero] < 65) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($65)");
TieneSprunk[playerid] = 100;
QuitarDinero(playerid, 65);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_SPRUNK);
SendClientMessage(playerid, -1, "Vocк comprou um copo de sprunk por {00F000}65$");
SendClientMessage(playerid, -1, "Pressione {DBED15}LMB{FFFFFF} para beber.");
return 1;
}
}
if(strcmp(item, "vinho",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,498.6868,-76.0385,998.7578) || IsPlayerInRangeOfPoint(playerid,5.0,-225.1540,1404.1327,27.7734))
{
if(PlayerInfo[playerid][jDinero] < 60) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($60)");
QuitarDinero(playerid, 60);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_WINE);
SendClientMessage(playerid, -1, "Vocк comprou um vinho por {00F000}60$");
SendClientMessage(playerid, -1, "Pressione {DBED15}LMB{FFFFFF} para beber.");
return 1;
}
}
if(strcmp(item, "cerveja",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,498.6868,-76.0385,998.7578) || IsPlayerInRangeOfPoint(playerid,5.0,-225.1540,1404.1327,27.7734))
{
if(PlayerInfo[playerid][jDinero] < 40) return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. ($40)");
QuitarDinero(playerid, 40);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
SendClientMessage(playerid, -1, "Vocк comprou uma cerveja por {00F000}40$");
SendClientMessage(playerid, -1, "Pressione {DBED15}LMB{FFFFFF} para beber.");
return 1;
}
}
if(strcmp(item, "acessorio",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,175.4841,-92.5689,1002.1417))
{
ShowModelSelectionMenu(playerid, objetos, "acessуrio");
return 1;
}
}
if(strcmp(item, "galao",true)==0)
{
if(!EnGasolinera(playerid)) return SendClientMessage(playerid, -1, "O galгo de gasolina й vendido nas estaзхes de serviзo.");
if(Bidon[playerid] == 1) return SendClientMessage(playerid, -1, "Vocк jб tem um galгo de gasolina.");
if(PlayerInfo[playerid][jDinero] < 65) return SendClientMessage(playerid, -1, "Vocк nгo tem dinheiro o suficiente. para comprar um galгo de gasolina ($65).");
{
QuitarDinero(playerid, 65);
SetPlayerAttachedObject(playerid,2,1650,5,0.125999,0.011999,0.000000,-4.999999,-98.099983,16.600004,1.000000,1.000000,1.000000);
Bidon[playerid] = 1;
SendClientMessage(playerid, -1,"Vocк comprou um galгo de gasolina de 5 litros de combustнvel por {00CC00}$65{FFFFFF}. Para usб-lo, digite: {DBED15}/cargar tanque");
return 1;
}
}
if(strcmp(item,"veiculo",true)==0)
{
if(!IsPlayerInAnyVehicle(playerid)) return 1;
new carid;
carid = GetPlayerVehicleID(playerid);
if(VehiculosInfo[carid][vcomprable] != 1) return 1;
if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] != 0 && PlayerInfo[playerid][vip] != 1) return SendClientMessage(playerid, -1, "Tu ya tienes 2 vehнculos, compra una membresнa VIP para poder comprar hasta 4 vehнculos.");
if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] != 0 && PlayerInfo[playerid][vModelo3] != 0 && PlayerInfo[playerid][vModelo4] != 0) return SendClientMessage(playerid, -1, "Tu ya tienes 4 vehнculos.");
new mensaje[10], kevin[5], value = random(999);
randomString(kevin, 4);
format(mensaje, 10,"%s %d",kevin, value);
switch(VehiculosInfo[carid][vmoneda])
{
case 0:
{
if(PlayerInfo[playerid][jDinero] >= VehiculosInfo[carid][vprecio])
{
new query[900],pName[50];
GetPlayerName(playerid, pName, 50);
if(PlayerInfo[playerid][vModelo] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo`='%d',`X`='%f',`Y`='%f',`Z`='%f',`A`='%f',`Color1`='%d',`Color2`='%d',`VidaV`='1000.0',`Precio`='%d',`vMoneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
QuitarDinero(playerid,VehiculosInfo[carid][vprecio]);
PlayerInfo[playerid][vModelo] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][vColor1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][vColor2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][vPrecio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][vMonedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][vpatente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],1);
SetTimerEx("EnviarAuto",1000,false,"d",playerid);
}
else if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo2`='%d',`X2`='%f',`Y2`='%f',`Z2`='%f',`A2`='%f',`2Color1`='%d',`2Color2`='%d',`VidaV2`='1000.0',`Precio2`='%d',`v2Moneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
QuitarDinero(playerid,VehiculosInfo[carid][vprecio]);
PlayerInfo[playerid][vModelo2] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][v2Color1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][v2Color2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][v2Precio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][v2Monedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][v2patente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],2);
SetTimerEx("EnviarAuto2",1000,false,"d",playerid);
}
else if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] != 0 && PlayerInfo[playerid][vModelo3] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo3`='%d',`X3`='%f',`Y3`='%f',`Z3`='%f',`A3`='%f',`3Color1`='%d',`3Color2`='%d',`VidaV3`='1000.0',`Precio3`='%d',`v3Moneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
QuitarDinero(playerid,VehiculosInfo[carid][vprecio]);
PlayerInfo[playerid][vModelo3] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][v3Color1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][v3Color2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][v3Precio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][v3Monedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][v3patente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],3);
SetTimerEx("EnviarAuto3",1000,false,"d",playerid);
}
else if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] != 0 && PlayerInfo[playerid][vModelo3] != 0 && PlayerInfo[playerid][vModelo4] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo4`='%d',`X4`='%f',`Y4`='%f',`Z4`='%f',`A4`='%f',`4Color1`='%d',`4Color2`='%d',`VidaV4`='1000.0',`Precio4`='%d',`v4Moneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
QuitarDinero(playerid,VehiculosInfo[carid][vprecio]);
PlayerInfo[playerid][vModelo4] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][v4Color1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][v4Color2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][v4Precio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][v4Monedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][v4patente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],4);
SetTimerEx("EnviarAuto4",1000,false,"d",playerid);
}
}
else return SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. para comprar esse tipo de veнculo.");
}
case 1:
{
if(PlayerInfo[playerid][Moneda] >= VehiculosInfo[carid][vprecio])
{
new query[900],pName[50];
GetPlayerName(playerid, pName, 50);
if(PlayerInfo[playerid][vModelo] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo`='%d',`X`='%f',`Y`='%f',`Z`='%f',`A`='%f',`Color1`='%d',`Color2`='%d',`VidaV`='1000.0',`Precio`='%d',`vMoneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
PlayerInfo[playerid][Moneda] -= VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][vModelo] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][vColor1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][vColor2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][vPrecio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][vMonedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][vpatente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],1);
SetTimerEx("EnviarAuto",1000,false,"d",playerid);
}
else if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo2`='%d',`X2`='%f',`Y2`='%f',`Z2`='%f',`A2`='%f',`2Color1`='%d',`2Color2`='%d',`VidaV2`='1000.0',`Precio2`='%d',`v2Moneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
PlayerInfo[playerid][Moneda] -= VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][vModelo2] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][v2Color1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][v2Color2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][v2Precio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][v2Monedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][v2patente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],2);
SetTimerEx("EnviarAuto2",1000,false,"d",playerid);
}
else if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] != 0 && PlayerInfo[playerid][vModelo3] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo3`='%d',`X3`='%f',`Y3`='%f',`Z3`='%f',`A3`='%f',`3Color1`='%d',`3Color2`='%d',`VidaV3`='1000.0',`Precio3`='%d',`v3Moneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
PlayerInfo[playerid][Moneda] -= VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][vModelo3] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][v3Color1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][v3Color2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][v3Precio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][v3Monedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][v3patente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],3);
SetTimerEx("EnviarAuto3",1000,false,"d",playerid);
}
else if(PlayerInfo[playerid][vModelo] != 0 && PlayerInfo[playerid][vModelo2] != 0 && PlayerInfo[playerid][vModelo3] != 0 && PlayerInfo[playerid][vModelo4] == 0)
{
format(query, 900, "UPDATE `usuarios` SET `Modelo4`='%d',`X4`='%f',`Y4`='%f',`Z4`='%f',`A4`='%f',`4Color1`='%d',`4Color2`='%d',`VidaV4`='1000.0',`Precio4`='%d',`v4Moneda`='%d' WHERE `Username`='%s'", VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vx],VehiculosInfo[carid][vy],VehiculosInfo[carid][vz],
VehiculosInfo[carid][va],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],VehiculosInfo[carid][vprecio],VehiculosInfo[carid][vmoneda], pName);
mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);
PlayerInfo[playerid][Moneda] -= VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][vModelo4] = VehiculosInfo[carid][vmodelo];
PlayerInfo[playerid][v4Color1] = VehiculosInfo[carid][vcolor1];
PlayerInfo[playerid][v4Color2] = VehiculosInfo[carid][vcolor2];
PlayerInfo[playerid][v4Precio] = VehiculosInfo[carid][vprecio];
PlayerInfo[playerid][v4Monedaa] = VehiculosInfo[carid][vmoneda];
PlayerInfo[playerid][v4patente] = mensaje;
RemovePlayerFromVehicle(playerid);
ConceCercano(playerid, VehiculosInfo[carid][vmodelo],VehiculosInfo[carid][vcolor1],VehiculosInfo[carid][vcolor2],4);
SetTimerEx("EnviarAuto4",1000,false,"d",playerid);
}
}
else return SendClientMessage(playerid,-1,"Vocк nгo tem HZ o suficiente para comprar esse tipo de veнculo.");
}
}
}
if(strcmp(item, "propiedade", true) == 0)
{
for(new c = 0; c <MAX_PROPIEDADES; c++)
{
if(IsPlayerInRangeOfPoint(playerid,1.5,PropInfo[c][pPosX],PropInfo[c][pPosY],PropInfo[c][pPosZ]))
{
if(PropInfo[c][pEnVenta] == 1)
{
new query[260];
if(PropInfo[c][pEnVentaPor] == 0)
{
if(PropInfo[c][pPrecio] <= PlayerInfo[playerid][jDinero])
{
if(PlayerInfo[playerid][jNivel] < PropInfo[c][pNivel]) return SendClientMessage(playerid,-1,"Vocк nгo tem o nнvel necessбrio para comprar essa propriedade.");
if(PlayerInfo[playerid][CasaID] == 0)
{
PlayerInfo[playerid][CasaID] = PropInfo[c][pID];
format(query,sizeof(query),"UPDATE `usuarios` SET `CasaID`='%d' WHERE `Username`='%s'",PropInfo[c][pID],NombreJugador(playerid));
mysql_function_query(Conecction,query,true,"","");
}
else if(PlayerInfo[playerid][CasaID2] == 0)
{
if(PlayerInfo[playerid][vip] == 1)
{
PlayerInfo[playerid][CasaID2] = PropInfo[c][pID];
format(query,sizeof(query),"UPDATE `usuarios` SET `CasaID2`='%d' WHERE `Username`='%s'",PropInfo[c][pID],NombreJugador(playerid));
mysql_function_query(Conecction,query,true,"","");
}
else return SendClientMessage(playerid,-1,"Somente usuбrios VIP2 podem ter 2 propriedades.");
}
else return SendClientMessage(playerid,-1,"Vocк sу pode ter 2 propriedades.");
QuitarDinero(playerid,PropInfo[c][pPrecio]);
PropInfo[c][pEnVenta] = 0;
format(PropInfo[c][pPropietario],40,"%s",NombreJugador(playerid));
BorrarLabelCasa(c);
CargarPropiedad(c);
format(query,sizeof(query),"UPDATE `propiedades` SET `EnVenta`='0', `Propietario`='%s',`IDPropietario`='%d' WHERE `ID`='%d'", PropInfo[c][pPropietario], PlayerInfo[playerid][pID], PropInfo[c][pID]);
mysql_function_query(Conecction, query, true, "", "");
SendClientMessage(playerid,-1,"{00CC00}Parabйns! vocк acabou de comprar essa propriedade.");
RevisarLogroPropiedad(playerid, PropInfo[c][pTipo]);
PropInfo[c][pIDPropietario] = PlayerInfo[playerid][pID];
}
else SendClientMessage(playerid,-1,"Vocк nгo tem dinheiro o suficiente. para comprar essa propriedade.");
}
else if(PropInfo[c][pEnVentaPor] == 1)
{
if(PropInfo[c][pPrecio] <= PlayerInfo[playerid][Moneda])
{
if(PlayerInfo[playerid][jNivel] < PropInfo[c][pNivel]) return SendClientMessage(playerid,-1,"Vocк nгo tem o nнvel necessбrio para comprar essa propriedade.");
if(PlayerInfo[playerid][CasaID] == 0)
{
PlayerInfo[playerid][CasaID] = PropInfo[c][pID];
format(query,sizeof(query),"UPDATE `usuarios` SET `CasaID`='%d' WHERE `Username`='%s'",PropInfo[c][pID],NombreJugador(playerid));
mysql_function_query(Conecction,query,true,"","");
}
else if(PlayerInfo[playerid][CasaID2] == 0)
{
if(PlayerInfo[playerid][vip] == 1)
{
PlayerInfo[playerid][CasaID2] = PropInfo[c][pID];
format(query,sizeof(query),"UPDATE `usuarios` SET `CasaID2`='%d' WHERE `Username`='%s'",PropInfo[c][pID],NombreJugador(playerid));
mysql_function_query(Conecction,query,true,"","");
}
else return SendClientMessage(playerid,-1,"Somente usuбrios VIP2 podem ter 2 propriedades.");
}
else return SendClientMessage(playerid,-1,"Vocк sу pode ter 2 propriedades.");
PlayerInfo[playerid][Moneda] -= PropInfo[c][pPrecio];
PropInfo[c][pEnVenta] = 0;
format(PropInfo[c][pPropietario],40,"%s",NombreJugador(playerid));
BorrarLabelCasa(c);
CargarPropiedad(c);
format(query,sizeof(query),"UPDATE `propiedades` SET `EnVenta`='0', `Propietario`='%s',`IDPropietario`='%d' WHERE `ID`='%d'", PropInfo[c][pPropietario], PlayerInfo[playerid][pID], PropInfo[c][pID]);
mysql_function_query(Conecction, query, true, "", "");
SendClientMessage(playerid,-1,"{00CC00}Parabйns! vocк acabou de comprar essa propriedade.");
RevisarLogroPropiedad(playerid, PropInfo[c][pTipo]);
PropInfo[c][pIDPropietario] = PlayerInfo[playerid][pID];
}
else SendClientMessage(playerid,-1,"Vocк nгo tem HZ o suficiente para comprar essa propriedade.");
}
}
}
}
}
if(strcmp(item,"reposicoes", true) == 0)
{
if(PlayerInfo[playerid][jJob] != 8 && PlayerInfo[playerid][vipjob] != 8) return SendClientMessage(playerid,-1,"Vocк precisa se tornar um mecвnico para comprar as reposiзхes.");
if(!IsPlayerInRangeOfPoint(playerid, 5.0, 93.3250,-161.6600,2.5938)) return SendClientMessage(playerid,-1,"Vocк nгo estб aonde se compra as reposiзхes.");
{
new string[256];
format(string, 256,"Vocк pode ter no mбximo de 100 peзas de reposiзхes\nColoque a quantidade de peзas reposiзхes que vocк deseja comprar.",string);
ShowPlayerDialog(playerid, CREPUESTOS, DIALOG_STYLE_INPUT, "Comprar reposiзхes", string, "Comprar","Cancelar");
return 1;
}
}
if(strcmp(item,"produtos", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -28.0060,-89.9514,1003.5469)) // 24/7
{
new str[344+1];
format(str, sizeof(str), "%sTelefone mуvel ($1500)\nAgenda telefфnica ($35)\nTrava de seguranзa para veнculos\nAlarme para veнculos.\nRбdio comunicador ($2000)\nGPS ($800)\nBebida par", str);
format(str, sizeof(str), "%sa levar: Cerveja x6 unidades ($300)\nBebida para levar: Vinho x6 unidades ($600)\nBebida para levar: Sprunk x4 unidades ($260)\nBebida: Sprunk ($65)", str);
ShowPlayerDialog(playerid, PRODUCTOS, DIALOG_STYLE_LIST, "Productos e serviзos 24/7.", str, "Comprar","Sair");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -784.2098,500.1945,1371.7422)) // Restaurante
{
ShowPlayerDialog(playerid, PRODUCTOS2, DIALOG_STYLE_TABLIST_HEADERS, "Lista de produtos",
"Produtos\tPreзos\n\
Vinho\t{00CC00}$110{FFFFFF}\n\
Cerveza\t{00CC00}$75{FFFFFF}\n\
Sprunk\t{00CC00}$65{FFFFFF}\n\
Aquarius\t{00CC00}$170{FFFFFF}",
"Comprar","Sair");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, 373.7276,-118.8039,1001.4922)) // Pizzeria
{
ShowPlayerDialog(playerid, DIALOG_PIZZA, DIALOG_STYLE_TABLIST_HEADERS, "Lista de produtos",
"Produtos\tPreзos\n\
Pedaзo de pizza\t{00CC00}$50{FFFFFF}\n\
Pizza completa -(Para levar)\t{00CC00}$300{FFFFFF}\n\
Sprunk\t{00CC00}$65{FFFFFF}\n\
Aquarius\t{00CC00}$170{FFFFFF}",
"Comprar","Sair");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -1262.6428,2119.9490,1246.5457) || IsPlayerInRangeOfPoint(playerid, 7.0, -1396.3044,-320.4939,1052.0834)) // Salгo de eventos
{
ShowPlayerDialog(playerid, DIALOG_SALON, DIALOG_STYLE_TABLIST_HEADERS, "Lista de produtos",
"Produtos\tPreзos\n\
Vinho\t{00CC00}$110{FFFFFF}\n\
Cerveja\t{00CC00}$75{FFFFFF}\n\
Sprunk\t{00CC00}$65{FFFFFF}\n\
Aquarius\t{00CC00}$170{FFFFFF}",
"Comprar","Sair");
return 1;
}
}
if(strcmp(item,"brinquedos", true) == 0)
{
if(!EnSexShop(playerid)) return 1;
new string[400];
format(string, sizeof(string),"Vibrador branco ({00CC00}$1000{FFFFFF})\n");
format(string, sizeof(string),"%sVibrador prateado ({00CC00}$1200{FFFFFF})\n",string);
format(string, sizeof(string),"%sGrande vibrador branco ({00CC00}$1600{FFFFFF})\nVibrador rosa ({00CC00}$2500{FFFFFF})",string);
ShowPlayerDialog(playerid, JUGUETES, DIALOG_STYLE_LIST, "Brinquedos erуticos", string, "Comprar","Cancelar");
return 1;
}
if(strcmp(item,"materiais", true) == 0)
{
if(PlayerInfo[playerid][jJob] != 2 && PlayerInfo[playerid][vipjob] != 2) return SendClientMessage(playerid, 0xFFFFFFFF,"Vocк precissa ser armeiro para comprar os materiais.");
if(IsPlayerInRangeOfPoint(playerid, 5.0,1422.6765,-1319.3438,13.5547) && Mats1[playerid] == 0)
{
if(PlayerInfo[playerid][jDinero] < 1250) return SendClientMessage(playerid, 0xFFFFFFFF,"Vocк nгo tem dinheiro o suficiente. ($1250)");
{
PlayerInfo[playerid][piezas] += 50;
QuitarDinero(playerid, 1250);
SendClientMessage(playerid, 0xFFFFFFFF,"Vocк comprou {DBED15}50 materiais{FFFFFF} de armas por {00CC00}$1250{FFFFFF}.");
SendClientMessage(playerid, 0xFFFFFFFF,"Agora dirige-se para a fбbrica (marcado em seu mini mapa) para preparar as peзas.");
PuntoMats[playerid] = SetPlayerCheckpoint(playerid,2160.7837,-2280.9233,13.3838, 5.0);
Mats1[playerid] = 1;
return 1;
}
}
else if(IsPlayerInRangeOfPoint(playerid, 5.0,2823.3486,-1420.3571,16.2562) && Mats2[playerid] == 0)
{
if(PlayerInfo[playerid][jDinero] < 1250) return SendClientMessage(playerid, 0xFFFFFFFF,"Vocк nгo tem dinheiro o suficiente. ($1250)");
{
PlayerInfo[playerid][piezas] += 50;
QuitarDinero(playerid, 1250);
SendClientMessage(playerid, 0xFFFFFFFF,"Vocк comprou {DBED15}50 materiais{FFFFFF} de armas por {00CC00}$1250{FFFFFF}.");
SendClientMessage(playerid, 0xFFFFFFFF,"Agora dirige-se para a fбbrica (marcado em seu mini mapa) para preparar as peзas.");
PuntoMats[playerid] = SetPlayerCheckpoint(playerid,2160.7837,-2280.9233,13.3838, 5.0);
Mats2[playerid] = 1;
return 1;
}
}
else if(IsPlayerInRangeOfPoint(playerid, 5.0,-1735.7610,1244.9299,7.5469) && Mats3[playerid] == 0)
{
if(PlayerInfo[playerid][jDinero] < 6250) return SendClientMessage(playerid, 0xFFFFFFFF,"Vocк nгo tem dinheiro o suficiente. ($6250)");
{
PlayerInfo[playerid][piezas] += 250;
QuitarDinero(playerid, 6250);
SendClientMessage(playerid, 0xFFFFFFFF,"Vocк comprou {DBED15}250 materiais{FFFFFF} de armas por {00CC00}$6250{FFFFFF}.");
SendClientMessage(playerid, 0xFFFFFFFF,"Agora dirige-se para a fбbrica (marcado em seu mini mapa) para preparar as peзas.");
PuntoMats[playerid] = SetPlayerCheckpoint(playerid,2160.7837,-2280.9233,13.3838, 5.0);
Mats3[playerid] = 1;
return 1;
}
}
}
}
if(!sscanf(params, "s[5]d", item, idjugador))
{
if(strcmp(item,"EUXY", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,1,1550,1); } }
if(strcmp(item,"AREP", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,2,1650,1); } }
if(strcmp(item,"WESY", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,7,1670,1); } }
if(strcmp(item,"FERA", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,14,1655,1); } }
if(strcmp(item,"UHYU", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,15,1730,1); } }
if(strcmp(item,"BGAS", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,16,1320,1); } }
if(strcmp(item,"SFEW", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,17,2682,1); } }
if(strcmp(item,"GTYD", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,18,1290,1); } }
if(strcmp(item,"BTYU", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,19,1200,1); } }
if(strcmp(item,"KILA", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,20,1700,1); } }
if(strcmp(item,"DYHG", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,21,1420,1); } }
if(strcmp(item,"BTYD", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,22,1350,1); } }
if(strcmp(item,"SXCE", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,23,1570,1); } }
if(strcmp(item,"ZAEF", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,24,1880,1); } }
if(strcmp(item,"VEYT", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,25,1895,1); } }
if(strcmp(item,"GHUS", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,26,1574,1); } }
if(strcmp(item,"YONR", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,27,1340,1); } }
if(strcmp(item,"BTRS", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,28,1450,1); } }
if(strcmp(item,"NTYD", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,29,1500,1); } }
if(strcmp(item,"MDSR", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,30,1272,1); } }
if(strcmp(item,"KTCW", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,32,1395,1); } }
if(strcmp(item,"AJRE", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,33,1680,1); } }
if(strcmp(item,"SMWA", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,34,1656,1); } }
if(strcmp(item,"PERM", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,35,1780,1); } }
if(strcmp(item,"SEOL", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,36,1800,1); } }
if(strcmp(item,"YOPA", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,37,1589,1); } }
if(strcmp(item,"DOSP", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,43,1654,1); } }
if(strcmp(item,"VISU", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,44,1330,1); } }
if(strcmp(item,"BUSI", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,45,1220,1); } }
if(strcmp(item,"OISY", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,46,1745,1); } }
if(strcmp(item,"ASEQ", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,47,1440,1); } }
if(strcmp(item,"CTYD", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,48,1735,1); } }
if(strcmp(item,"BRYR", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,49,1770,1); } }
if(strcmp(item,"UYBC", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,50,1680,1); } }
if(strcmp(item,"BRDS", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,51,1500,1); } }
if(strcmp(item,"BRYR", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,52,1500,1); } }
if(strcmp(item,"QKIS", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,57,2880,1); } }
if(strcmp(item,"BARQ", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,58,1598,1); } }
if(strcmp(item,"FEAQ", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,59,1955,1); } }
if(strcmp(item,"CTHU", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,60,1632,1); } }
if(strcmp(item,"CKOS", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,61,2590,1); } }
if(strcmp(item,"CARK", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,62,1600,1); } }
if(strcmp(item,"FRTA", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,66,1581,1); } }
if(strcmp(item,"GTAW", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,67,1682,1); } }
if(strcmp(item,"TYRE", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,68,1700,1); } }
if(strcmp(item,"VHFF", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,70,1900,1); } }
if(strcmp(item,"VSWR", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,72,1750,1); } }
if(strcmp(item,"TWSS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,73,1800,1); } }
if(strcmp(item,"BUHS", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,78,1170,1); } }
if(strcmp(item,"IWOS", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,79,1100,1); } }
if(strcmp(item,"AIWP", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,80,1650,1); } }
if(strcmp(item,"WOSP", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,81,1660,1); } }
if(strcmp(item,"PLSO", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,82,1900,1); } }
if(strcmp(item,"MONE", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,83,1920,1); } }
if(strcmp(item,"AYUS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,84,1910,1); } }
if(strcmp(item,"KIQW", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,94,1500,1); } }
if(strcmp(item,"IJSF", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,95,1400,1); } }
if(strcmp(item,"SETA", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,96,1650,1); } }
if(strcmp(item,"LYST", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,97,1520,1); } }
if(strcmp(item,"QAJU", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,98,1900,1); } }
if(strcmp(item,"MJAF", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,99,1540,1); } }
if(strcmp(item,"BOSK", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,100,1800,1); } }
if(strcmp(item,"BOSS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,101,1990,1); } }
if(strcmp(item,"BBRS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,128,1600,1); } }
if(strcmp(item,"PARL", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,132,1500,1); } }
if(strcmp(item,"NEPA", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,133,1600,1); } }
if(strcmp(item,"YIMQ", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,134,1359,1); } }
if(strcmp(item,"LSYG", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,135,1300,1); } }
if(strcmp(item,"SKOI", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,136,1400,1); } }
if(strcmp(item,"BNSI", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,137,1100,1); } }
if(strcmp(item,"KDOK", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,142,1700,1); } }
if(strcmp(item,"VUSW", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,143,1600,1); } }
if(strcmp(item,"JSTI", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,144,1900,1); } }
if(strcmp(item,"JSOG", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,146,2000,1); } }
if(strcmp(item,"BUST", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,147,2700,1); } }
if(strcmp(item,"FKSU", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,153,2800,1); } }
if(strcmp(item,"MQNB", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,154,1700,1); } }
if(strcmp(item,"POSL", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,156,1600,1); } }
if(strcmp(item,"PORF", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,158,1400,1); } }
if(strcmp(item,"AQPO", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,159,1100,1); } }
if(strcmp(item,"GSPL", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,160,1200,1); } }
if(strcmp(item,"UFCS", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,161,1500,1); } }
if(strcmp(item,"LSOS", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,162,1050,1); } }
if(strcmp(item,"FRTN", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,163,3699,1); } }
if(strcmp(item,"GRUS", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,164,3600,1); } }
if(strcmp(item,"KMXU", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,165,3300,1); } }
if(strcmp(item,"XCMS", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,166,3000,1); } }
if(strcmp(item,"VSIG", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,168,1100,1); } }
if(strcmp(item,"FKIS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,170,1900,1); } }
if(strcmp(item,"AYUQ", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,171,2600,1); } }
if(strcmp(item,"KENU", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,176,1799,1); } }
if(strcmp(item,"KFCP", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,177,1690,1); } }
if(strcmp(item,"LAPO", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,179,2000,1); } }
if(strcmp(item,"NFTY", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,180,1590,1); } }
if(strcmp(item,"SPOF", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,181,1500,1); } }
if(strcmp(item,"XAXY", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,182,1200,1); } }
if(strcmp(item,"XOIK", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,183,1699,1); } }
if(strcmp(item,"LFPO", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,184,1799,1); } }
if(strcmp(item,"FRIK", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,185,2899,1); } }
if(strcmp(item,"YJLA", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,186,3000,1); } }
if(strcmp(item,"EKRI", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,187,3200,1); } }
if(strcmp(item,"KENA", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,188,1600,1); } }
if(strcmp(item,"DEVT", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,189,2600,1); } }
if(strcmp(item,"BOMT", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,200,1500,1); } }
if(strcmp(item,"SORL", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,202,2010,1); } }
if(strcmp(item,"RAIJ", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,203,2450,1); } }
if(strcmp(item,"CAME", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,204,2500,1); } }
if(strcmp(item,"GAWQ", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,206,2300,1); } }
if(strcmp(item,"SWQX", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,209,1300,1); } }
if(strcmp(item,"DERS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,210,3000,1); } }
if(strcmp(item,"BERO", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,212,1050,1); } }
if(strcmp(item,"VSPT", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,213,1000,1); } }
if(strcmp(item,"FPSI", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,220,1710,1); } }
if(strcmp(item,"RTXS", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,221,1699,1); } }
if(strcmp(item,"FGSW", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,222,1800,1); } }
if(strcmp(item,"GGSW", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,223,3300,1); } }
if(strcmp(item,"BGSG", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,227,2699,1); } }
if(strcmp(item,"FKKK", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,229,1899,1); } }
if(strcmp(item,"MSUA", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,230,1090,1); } }
if(strcmp(item,"TPSA", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,234,1899,1); } }
if(strcmp(item,"BHYF", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,235,1700,1); } }
if(strcmp(item,"HGFE", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,236,1600,1); } }
if(strcmp(item,"FPLA", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,239,1000,1); } }
if(strcmp(item,"SDMJ", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,240,2600,1); } }
if(strcmp(item,"KJQA", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,241,1899,1); } }
if(strcmp(item,"MSIF", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,242,1799,1); } }
if(strcmp(item,"QQSJ", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,247,1599,1); } }
if(strcmp(item,"ELAC", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,248,1600,1); } }
if(strcmp(item,"MAIS", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,249,2000,1); } }
if(strcmp(item,"CXSS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,250,2000,1); } }
if(strcmp(item,"BNUT", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,252,2100,1); } }
if(strcmp(item,"SHUE", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,253,2500,1); } }
if(strcmp(item,"MSOF", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,254,1599,1); } }
if(strcmp(item,"POFS", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,255,2699,1); } }
if(strcmp(item,"ERTA", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,258,1999,1); } }
if(strcmp(item,"JJTF", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,259,1899,1); } }
if(strcmp(item,"NTAD", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,260,1599,1); } }
if(strcmp(item,"CCHU", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,261,1750,1); } }
if(strcmp(item,"INPI", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,262,1520,1); } }
if(strcmp(item,"SIUF", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,264,1030,1); } }
if(strcmp(item,"MSJF", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,268,1150,1); } }
if(strcmp(item,"LAPU", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,295,3000,1); } }
if(strcmp(item,"PAME", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,296,2650,1); } }
if(strcmp(item,"KSIO", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,297,1500,1); } }
if(strcmp(item,"FISS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,299,1959,1); } }
if(strcmp(item,"FERU", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,9,2559,2); } }
if(strcmp(item,"CGES", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,10,1000,2); } }
if(strcmp(item,"SERE", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,11,1780,2); } }
if(strcmp(item,"LUJA", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,13,1090,2); } }
if(strcmp(item,"BTDK", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,31,1660,2); } }
if(strcmp(item,"TANB", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,38,1352,2); } }
if(strcmp(item,"SFSH", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,39,1420,2); } }
if(strcmp(item,"EUSI", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,40,1650,2); } }
if(strcmp(item,"DDOS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,41,1920,2); } }
if(strcmp(item,"OPSF", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,53,1360,2); } }
if(strcmp(item,"EOWL", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,54,1290,2); } }
if(strcmp(item,"VJUS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,55,1850,2); } }
if(strcmp(item,"QAID", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,56,1665,2); } }
if(strcmp(item,"CONH", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,63,1780,2); } }
if(strcmp(item,"KSOF", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,64,1100,2); } }
if(strcmp(item,"TYWE", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,75,1400,2); } }
if(strcmp(item,"OSIF", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,76,2600,2); } }
if(strcmp(item,"BHSU", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,77,1200,2); } }
if(strcmp(item,"WIOS", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,85,1810,2); } }
if(strcmp(item,"CAOI", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,87,2100,2); } }
if(strcmp(item,"VSLS", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,88,1702,2); } }
if(strcmp(item,"VPSO", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,89,1430,2); } }
if(strcmp(item,"LSSF", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,90,1550,2); } }
if(strcmp(item,"SFPO", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,91,2300,2); } }
if(strcmp(item,"LVPO", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,92,1460,2); } }
if(strcmp(item,"SEPW", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,93,2000,2); } }
if(strcmp(item,"BRTF", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,129,1515,2); } }
if(strcmp(item,"MUAY", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,130,1595,2); } }
if(strcmp(item,"THAI", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,131,1600,2); } }
if(strcmp(item,"NHSU", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,138,1690,2); } }
if(strcmp(item,"SICV", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,139,1590,2); } }
if(strcmp(item,"VNSM", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,140,1899,2); } }
if(strcmp(item,"JSPM", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,145,2100,2); } }
if(strcmp(item,"LSMU", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,148,2500,2); } }
if(strcmp(item,"KOKU", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,150,2700,2); } }
if(strcmp(item,"PSLO", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,151,1600,2); } }
if(strcmp(item,"NQAR", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,152,1800,2); } }
if(strcmp(item,"HLAO", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,157,1359,2); } }
if(strcmp(item,"DAPL", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,172,2600,2); } }
if(strcmp(item,"NYRE", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,178,1700,2); } }
if(strcmp(item,"LARN", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,190,1900,2); } }
if(strcmp(item,"SLHP", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,192,2000,2); } }
if(strcmp(item,"NICU", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,193,1800,2); } }
if(strcmp(item,"XASE", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,194,2700,2); } }
if(strcmp(item,"XSAE", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,196,1100,2); } }
if(strcmp(item,"QWER", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,197,1200,2); } }
if(strcmp(item,"RRIO", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,198,1750,2); } }
if(strcmp(item,"SBPV", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,201,1900,2); } }
if(strcmp(item,"BPSL", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,205,3000,2); } }
if(strcmp(item,"VIPE", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,207,1800,2); } }
if(strcmp(item,"TURN", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,214,2100,2); } }
if(strcmp(item,"NRDS", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,215,2100,2); } }
if(strcmp(item,"ESPO", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,216,3600,2); } }
if(strcmp(item,"BETD", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,218,1400,2); } }
if(strcmp(item,"QXZV", true) == 0) { if(!EnDidierSachs(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,219,3500,2); } }
if(strcmp(item,"OOIS", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,224,1690,2); } }
if(strcmp(item,"XXVD", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,225,1590,2); } }
if(strcmp(item,"XXSE", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,226,2000,2); } }
if(strcmp(item,"BMER", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,231,1550,2); } }
if(strcmp(item,"SVGW", true) == 0) { if(!EnBinco(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,232,1500,2); } }
if(strcmp(item,"ADSO", true) == 0) { if(!EnZIP(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,233,1899,2); } }
if(strcmp(item,"PPAR", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,237,1700,2); } }
if(strcmp(item,"XXTE", true) == 0) { if(!EnSubUrban(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,238,1200,2); } }
if(strcmp(item,"VRTA", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,243,1699,2); } }
if(strcmp(item,"BNMT", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,244,1599,2); } }
if(strcmp(item,"NRTF", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,245,1699,2); } }
if(strcmp(item,"VERA", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,246,1900,2); } }
if(strcmp(item,"SDBG", true) == 0) { if(!EnProLaps(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,251,1500,2); } }
if(strcmp(item,"MTYF", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,256,1600,2); } }
if(strcmp(item,"ZRSF", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,257,1799,2); } }
if(strcmp(item,"GGRT", true) == 0) { if(!EnVictim(playerid)) return 1; if(idjugador == PlayerInfo[playerid][pID]+200) { CodigoRopa(playerid,263,1750,2); } }
}
return 1;
}