Nice update RTLK. Should solve a couple things that people are complaining about.Tell someone to give you the R flag. Not r but R. Capital.
EDIT: So my business menu should be working now? I swear as an OfC you can buy combine locks, but I have the standard unit menu.
Err... What did you mean by setting OTA models based on rank?
-- A function to get a player's Combine rank.
function openAura.schema:GetPlayerCombineRank(player)
local faction;
if (SERVER) then
faction = player:QueryCharacter("faction");
else
faction = openAura.player:GetFaction(player);
end;
if (faction == FACTION_OTA) then
if ( self:IsPlayerCombineRank(player, "OWS") ) then
return 0;
elseif ( self:IsPlayerCombineRank(player, "EOW") ) then
return 1;
else
return 2;
He means this code, he added a few more lines to it.
Code: [Select]-- A function to get a player's Combine rank.
He means this code, he added a few more lines to it.
function openAura.schema:GetPlayerCombineRank(player)
local faction;
if (SERVER) then
faction = player:QueryCharacter("faction");
else
faction = openAura.player:GetFaction(player);
end;
if (faction == FACTION_OTA) then
if ( self:IsPlayerCombineRank(player, "OWS") ) then
return 0;
elseif ( self:IsPlayerCombineRank(player, "EOW") ) then
return 1;
else
return 2;