24.08.2011, 12:12
Ola tenho uma duvida quando eu entro em algum carro dou /gps o gps nao aparece ele sу aparece quando da /gps fora do veiculo como fasso pra por pro /gps aparecer dentro ou fora dos veiculos ?
This forum requires that you wait 120 seconds between posts. Please try again in 69 seconds.
if (strcmp("/gps", cmdtext, true, 10) == 0)
{
if(PlayerTied[playerid] == 1){
SendClientMessage(playerid, COLOR_YELLOW, "Vocк nгo pode usar este comando no sequestro!");
return 0;
}else if(PlayerCuffed[playerid] > 0){
SendClientMessage(playerid, COLOR_YELLOW, "Vocк nгo pode usar este comando algemado!");
return 0;
}else if(IsPlayerInAnyVehicle(playerid)){
new vId = GetPlayerVehicleID(playerid);
if(vId==AluguelCar[0]||vId==AluguelCar[1]||vId==AluguelCar[2]||vId==AluguelCar[3]||vId==AluguelCar[4]||vId==AluguelCar[5]||vId==AluguelCar[6]||vId==AluguelCar[7]||vId==AluguelCar[8]||vId==AluguelCar[9])
{
SendClientMessage(playerid, RED, "Nгo pode usar este comando em carros de aluguel!");
}
}else{
new listitems[] = "Empregos\nHQs\nGoverno\n";
ShowPlayerDialog(playerid,617,DIALOG_STYLE_LIST,"Lista de lugares:",listitems,"Selecionar","Sair");
return 1;
}
}
if (strcmp("/gps", cmdtext, true, 10) == 0)
{
if(PlayerTied[playerid] == 1)
{
SendClientMessage(playerid, COLOR_YELLOW, "Vocк nгo pode usar este comando no sequestro!");
return 0;
}
else if(PlayerCuffed[playerid] > 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Vocк nгo pode usar este comando algemado!");
return 0;
}
else
{
new listitems[] = "Empregos\nHQs\nGoverno\n";
ShowPlayerDialog(playerid,617,DIALOG_STYLE_LIST,"Lista de lugares:",listitems,"Selecionar","Sair");
return 1;
}
return 1;
}