05.04.2014, 20:08
pawn Код:
//no topo poe isso
#define KEY_HORN 2
//na public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
//coloca esse code \/
if((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
{
if(!IsPlayerInRangeOfPoint(playerid, 7.0, 3028.8000000,-704.5996000,53.799999237061) && !IsPlayerInRangeOfPoint(playerid, 7.0, 3028.8000000,-704.5996000,10.5) return SendClientMessage(playerid, -1, "{FF0000}[ERRO]:Vocк Nгo Esta na Poximo ao Elevador");
SendClientMessage(playerid,COR_RED, "Escolha Uma Opзгo.");
ShowMenuForPlayer(elevador,playerid);
TogglePlayerControllable(playerid, 0);
return 1;
} }
}