18.04.2017, 01:32
Exemplo
assim colega?
Quote:
// ============================= [ ABRIR PORTГO COM BUZINA PM ] ================== */ if((newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH)) { if(IsPlayerInRangeOfPoint(playerid, 10.0, 1548.1999511719, -1627.6999511719, 9.1999998092651, 0)) { if(Player[playerid][pPM] >= 1) { for(new i=0; i <= HighestID; i++) if(GetDistanceBetweenPlayers(playerid, i) <= 10) { new string[280]; format(string, 256, "* Portгo fecharб em 5 segundos."); SendClientMessage(i,COR_ROXO,string); } MoveObject(portaoPM,1548.1999511719, -1627.6999511719, 15.199999809265, 0); SetTimerEx("FecharPortaoPM", 5000, 0, "i", playerid); } } } |