Hey guys, How can I add that one group has 1 addon and the other has another....
Ive changed the source.
Can this work?
Ive changed the source.
Can this work?
Code:
{
if(player->accessLevel > 0
if(acc.accountType > 3)
player->defaultOutfit.lookType = 75;
else
player->defaultOutfit.lookType = 136;
}
if(player->accessLevel > 0
{
if(acc.accountType > 5)
player->defaultOutfit.lookType = 266;
else
player->defaultOutfit.lookType = 136;
}
{
if(acc.accountType > 6)
player->defaultOutfit.lookType = 302;
else
player->defaultOutfit.lookType = 136;
}
else
player->defaultOutfit.lookType = result.getDataInt("looktype");
player->defaultOutfit.lookHead = result.getDataInt("lookhead");
player->defaultOutfit.lookBody = result.getDataInt("lookbody");
player->defaultOutfit.lookLegs = result.getDataInt("looklegs");
player->defaultOutfit.lookFeet = result.getDataInt("lookfeet");
player->defaultOutfit.lookAddons = result.getDataInt("lookaddons");
player->currentOutfit = player->defaultOutfit;
Last edited: