57 lines
1.5 KiB
PHP
57 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* This file is part of GameQ.
|
|
*
|
|
* GameQ is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* GameQ is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
namespace GameQ\Protocols;
|
|
|
|
/**
|
|
* GTA Five M Protocol Class
|
|
*
|
|
* Server base can be found at https://fivem.net/
|
|
*
|
|
* Based on code found at https://github.com/LiquidObsidian/fivereborn-query
|
|
*
|
|
* @author Austin Bischoff <austin@codebeard.com>
|
|
*
|
|
* Adding FiveM Player List by
|
|
* @author Jesse Lukas <eranio@g-one.org>
|
|
*
|
|
* @deprecated Use protocol CFX for querying your CitizenFX server
|
|
*/
|
|
class Gta5m extends Cfx
|
|
{
|
|
/**
|
|
* The query protocol used to make the call
|
|
*
|
|
* @type string
|
|
*/
|
|
protected $protocol = 'gta5m';
|
|
|
|
/**
|
|
* String name of this protocol class
|
|
*
|
|
* @type string
|
|
*/
|
|
protected $name = 'gta5m';
|
|
|
|
/**
|
|
* Longer string name of this protocol class
|
|
*
|
|
* @type string
|
|
*/
|
|
protected $name_long = "GTA Five M";
|
|
}
|