Quote:
Originally Posted by Requi
The position parameter
|
I change mapID in IndexInternal.es
if (isset($_GET['action'])):
if ($_GET['action'] === 'internalCompanyChoose' && $Users->DataRow['factionId'] === '0'):
$factory->setId($Users->DataRow['ID'], $Users->DataRow['playerID']);
if (isset($_GET['subaction'], $_GET['factionID']) && $_GET['subaction'] === 'factionChoose' && $_GET['factionID'] > 0 && $_GET['factionID'] < 4):
$mapId = 1;
if ($_GET['factionID'] === '1') {
$mapId = 16;
$x = 1000;
$y = 1000;
} elseif ($_GET['factionID'] === '2') {
$mapId = 16;
$x = 19800;
$y = 1000;
} else {
$mapId = 16;
$x = 10000;
$y = 11700;
};
And i change in emulator this
public void SendStations()
{
if (MapId == 1)
{
Send("0|s|0|1|redStation|1|1500|1000|1000");
}
else if (MapId == 16)
{
Send("0|s|0|1|blueStation|2|1500|19800|1000");
}
else if (MapId == 16)
{
Send("0|s|0|1|greenStation|3|1500|19600|11900");
}
}
when i send this in emulator no see the base
wath i need to change to see the bases in 4-4?