mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
NPCs:
* added spawns for vehicle accessories * display if npc is an accessory or has acceories Home: * searching from home no longer adds index.php to the url thought of the day: what do i do with spawns on transport-maps?
This commit is contained in:
@@ -564,10 +564,10 @@ trait spawnHelper
|
||||
$label = [];
|
||||
|
||||
if (User::isInGroup(U_GROUP_STAFF))
|
||||
$label[] = 'GUID'.Lang::$main['colon'].$s['guid'];
|
||||
$label[] = $s['guid'] < 0 ? 'Vehicle Accessory' : 'GUID'.Lang::$main['colon'].$s['guid'];
|
||||
|
||||
if ($_ = Util::formatTime($s['respawn'] * 1000, false))
|
||||
$label[] = Lang::$npc['respawnIn'].Lang::$main['colon'].$_;
|
||||
if ($s['respawn'])
|
||||
$label[] = Lang::$npc['respawnIn'].Lang::$main['colon'].Util::formatTime($s['respawn'] * 1000, false);
|
||||
|
||||
if (User::isInGroup(U_GROUP_STAFF))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user