dewral
Veteran OT User
- Joined
- Dec 4, 2019
- Messages
- 345
- Solutions
- 10
- Reaction score
- 371
Hi guys!
Basicaly i wanted that server send cancel message after you choose outfit you don't own.
This part is responsible for displaying all of outfits.
Tfs 1.5 772
Could someone help?
Basicaly i wanted that server send cancel message after you choose outfit you don't own.
This part is responsible for displaying all of outfits.
Tfs 1.5 772
C++:
switch (player->getSex()) {
case PLAYERSEX_FEMALE: {
msg.add<uint16_t>(351);
if (player->isPremium()) {
msg.add<uint16_t>(365);
} else {
msg.add<uint16_t>(357);
}
break;
}
case PLAYERSEX_MALE: {
msg.add<uint16_t>(300);
if (player->isPremium()) {
msg.add<uint16_t>(316);
} else {
msg.add<uint16_t>(306);
}
break;
}
default: {
msg.add<uint16_t>(300);
msg.add<uint16_t>(351);
}
}
writeToOutputBuffer(msg);
}
Could someone help?
Last edited: