Advertisement
iAmGhost

Untitled

Aug 21st, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. public FastChat(Client)
  2. {
  3. new target_index = GetClientAimTarget(Client, true);
  4. new Target = GetClientUserId(target_index);
  5.  
  6. new Handle:menuhandle = CreateMenu(FastChat_CallBack);
  7.  
  8. SetMenuTitle(menuhandle, "빠른 채팅키");
  9. AddMenuItem(menuhandle, "네", "네");
  10. AddMenuItem(menuhandle, "아니요", "아니요");
  11. AddMenuItem(menuhandle, "도와줘요!", "도와줘요!");
  12.  
  13. decl String:Formatting[5][256];
  14.  
  15. if(Target != -1)
  16. {
  17. Format(Formatting[0], 256, "저는 %N님과 함께 있습니다.", Target);
  18. Format(Formatting[1], 256, "저는 %N님을 봤습니다.", Target);
  19. Format(Formatting[2], 256, "%N님이 수상해 보입니다.", Target);
  20. Format(Formatting[3], 256, "%N님이 트레이터 입니다!", Target);
  21. Format(Formatting[4], 256, "%N님은 이노센트입니다.", Target);
  22. }
  23. else
  24. {
  25. Format(Formatting[0], 256, "저는 어떤님과 함께 있습니다.");
  26. Format(Formatting[1], 256, "저는 어떤님을 봤습니다.");
  27. Format(Formatting[2], 256, "어떤님이 수상해 보입니다.");
  28. Format(Formatting[3], 256, "어떤님이 트레이터 입니다!");
  29. Format(Formatting[4], 256, "어떤님은 이노센트입니다.");
  30. }
  31.  
  32. for (new i; i < 5; i++)
  33. {
  34. AddMenuItem(menuhandle, Formatting[i], Formatting[i]);
  35. }
  36.  
  37. AddMenuItem(menuhandle, "다들 살아있나요?", "다들 살아있나요?");
  38. SetMenuPagination(menuhandle, MENU_NO_PAGINATION);
  39. SetMenuExitButton(menuhandle, true);
  40.  
  41. DisplayMenu(menuhandle, Client, 1);
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement