viewing paste Unknown #13911 | C++

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/// Guild creation result (ZC_RESULT_MAKE_GUILD).
/// 0167 <result>.B
/// result:
///     0 = "Guild has been created."
///     1 = "You are already in a Guild."
///     2 = "That Guild Name already exists."
///     3 = "You need the neccessary item to create a Guild."
void clif_guild_created(struct map_session_data *sd,int flag)
{
        int fd;
 
        nullpo_retv(sd);
 
        fd=sd->fd;
        WFIFOHEAD(fd,packet_len(0x167));
        WFIFOW(fd,0)=0x167;
        WFIFOB(fd,2)=flag;
        WFIFOSET(fd,packet_len(0x167));
}
Viewed 646 times, submitted by Pneuma.