Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. if (strcmp("/portao", cmdtext, true, 10) == 0)
  2.     {
  3.         if(IsPlayerInRangeOfPoint(playerid,7.0, 1, 2, 3))
  4.         {
  5.         SendClientMessage(playerid, -1, "Portão Aberto, irá Fechar em 5 Segundos");
  6.         MoveObject(Portao, 1, 2, 2, 1.0, 0.0, 0.0, 0.0);
  7.         SetTimer("ClosePortao", 5000, false);
  8.         }
  9.         return 1;
  10.     }
  11.     return 0;
  12. }