Gta5m.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. * This file is part of GameQ.
  4. *
  5. * GameQ is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU Lesser General Public License as published by
  7. * the Free Software Foundation; either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * GameQ is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. namespace GameQ\Protocols;
  19. /**
  20. * GTA Five M Protocol Class
  21. *
  22. * Server base can be found at https://fivem.net/
  23. *
  24. * Based on code found at https://github.com/LiquidObsidian/fivereborn-query
  25. *
  26. * @author Austin Bischoff <[email protected]>
  27. *
  28. * Adding FiveM Player List by
  29. * @author Jesse Lukas <[email protected]>
  30. *
  31. * @deprecated Use protocol CFX for querying your CitizenFX server
  32. */
  33. class Gta5m extends Cfx
  34. {
  35. /**
  36. * The query protocol used to make the call
  37. *
  38. * @type string
  39. */
  40. protected $protocol = 'gta5m';
  41. /**
  42. * String name of this protocol class
  43. *
  44. * @type string
  45. */
  46. protected $name = 'gta5m';
  47. /**
  48. * Longer string name of this protocol class
  49. *
  50. * @type string
  51. */
  52. protected $name_long = "GTA Five M";
  53. }