27.02.2013, 12:13
tenta
pawn Код:
if (strcmp(cmd, "/paredao", true) == 0)
{
new v;
v = GetPlayerVehicleID(playerid);
if(PlayerInfo[playerid][pVIP] >= 1 && PlayerInfo[playerid][pTimeVIP] >= 1)return
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo pode obter um paredгo com VIP-Teste");
if(PlayerInfo[playerid][pVIP] < 1)return
SendClientMessage(playerid, COLOR_GREY, "Apenas players VIPs podem comprar um Paredгo");
if(!IsPlayerInAnyVehicle(playerid))return
SendClientMessage(playerid,COLOR_RED," Vocк nгo estб em um veнculo!");
if(v != 535 || v != 422 ||v !=554 ||v !=600 ||v !=478 ||v !=543)return
SendClientMessage(playerid,COLOR_RED,"os veiculos para esse comandos sгo apenas os [535] [422] [554] [600] [478] [543]");
if (IsPlayerInRangeOfPoint(playerid, 2.0, 1806.5234,-1689.9503,13.5371)){
SendClientMessage(playerid, -1, "{9C9C9C}Vocк nгo estб na Equipadora Automotiva");
}
else{
Controle(playerid, 0);
ShowPlayerDialog(playerid, DIALOG_PAREDAO, DIALOG_STYLE_LIST, "Paredoes", "Paredгo Neon Azul\nParedгo Neon Vermelho\nParedгo Neon Verde\nParedгo Neon Amarelo\nParedгo Neon Roxo\nParedгo Neon Branco\nParedao Neon Colorido", "Ok", "Fechar");
}
return true;
}