Advertisement
MAJDark

WELCOME ADMIN ( LOCAL SERVER )

Feb 25th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.42 KB | None | 0 0
  1. // SET userflag
  2.     n_non_const->userFlag = 0;
  3.     IF(fromPlr->profile_.ProfileData.AccountType == 126)
  4.     {
  5.         n_non_const->userFlag |= 1;
  6.             // [CDN] - Welcome admin online
  7.             PKT_C2C_ChatMessage_s n2;
  8.             n2.msgChannel = 1; // global
  9.             n2.userFlag   = 2; // mark AS dev, so color IS red
  10.             sprintf(n2.msg, "Welcome Admin!");
  11.             r3dscpy(n2.gamertag, "<Aviso-AC");
  12.             p2pBroadcastToAll(&n2, sizeof(n2));
  13.  
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement