Advertisement
Guest User

Untitled

a guest
Jan 11th, 2012
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. if(dialogid == COLORMENU)
  2. {
  3. if(response)
  4. {
  5. if(listitem == 0)
  6. {
  7. SetPlayerColor(playerid,COLOR_DBLUE);
  8. SendClientMessageEx(playerid, COLOR_DBLUE, "Your color has been set to Blue!");
  9. }
  10. if(listitem == 1)
  11. {
  12. SetPlayerColor(playerid,COLOR_BLACK);
  13. SendClientMessageEx(playerid, COLOR_BLACK, "Your color has been set to Black!");
  14. }
  15. if(listitem == 2)
  16. {
  17. SetPlayerColor(playerid,COLOR_REALRED);
  18. SendClientMessageEx(playerid, COLOR_REALRED, "Your color has been set to Red!");
  19. }
  20. if(listitem == 3)
  21. {
  22. SetPlayerColor(playerid,TEAM_ORANGE_COLOR);
  23. SendClientMessageEx(playerid, TEAM_ORANGE_COLOR, "Your color has been set to Orange!");
  24. }
  25. if(listitem == 4)
  26. {
  27. SetPlayerColor(playerid,COLOR_PINK);
  28. SendClientMessageEx(playerid, COLOR_PINK, "Your color has been set to Pink!");
  29. }
  30. if(listitem == 5)
  31. {
  32. SetPlayerColor(playerid,COLOR_PURPLE);
  33. SendClientMessageEx(playerid, COLOR_PURPLE, "Your color has been set to Purple!");
  34. }
  35. if(listitem == 6)
  36. {
  37. SetPlayerColor(playerid,COLOR_GREEN);
  38. SendClientMessageEx(playerid, COLOR_GREEN, "Your color has been set to Green!");
  39. }
  40. if(listitem == 7)
  41. {
  42. SetPlayerColor(playerid,COLOR_YELLOW);
  43. SendClientMessageEx(playerid, COLOR_YELLOW, "Your color has been set to Yellow!");
  44. }
  45. if(listitem == 8)
  46. {
  47. SetPlayerColor(playerid,COLOR_WHITE);
  48. SendClientMessageEx(playerid, COLOR_WHITE, "Your color has been set to White!");
  49. }
  50. }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement