Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dialogid == COLORMENU)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerColor(playerid,COLOR_DBLUE);
- SendClientMessageEx(playerid, COLOR_DBLUE, "Your color has been set to Blue!");
- }
- if(listitem == 1)
- {
- SetPlayerColor(playerid,COLOR_BLACK);
- SendClientMessageEx(playerid, COLOR_BLACK, "Your color has been set to Black!");
- }
- if(listitem == 2)
- {
- SetPlayerColor(playerid,COLOR_REALRED);
- SendClientMessageEx(playerid, COLOR_REALRED, "Your color has been set to Red!");
- }
- if(listitem == 3)
- {
- SetPlayerColor(playerid,TEAM_ORANGE_COLOR);
- SendClientMessageEx(playerid, TEAM_ORANGE_COLOR, "Your color has been set to Orange!");
- }
- if(listitem == 4)
- {
- SetPlayerColor(playerid,COLOR_PINK);
- SendClientMessageEx(playerid, COLOR_PINK, "Your color has been set to Pink!");
- }
- if(listitem == 5)
- {
- SetPlayerColor(playerid,COLOR_PURPLE);
- SendClientMessageEx(playerid, COLOR_PURPLE, "Your color has been set to Purple!");
- }
- if(listitem == 6)
- {
- SetPlayerColor(playerid,COLOR_GREEN);
- SendClientMessageEx(playerid, COLOR_GREEN, "Your color has been set to Green!");
- }
- if(listitem == 7)
- {
- SetPlayerColor(playerid,COLOR_YELLOW);
- SendClientMessageEx(playerid, COLOR_YELLOW, "Your color has been set to Yellow!");
- }
- if(listitem == 8)
- {
- SetPlayerColor(playerid,COLOR_WHITE);
- SendClientMessageEx(playerid, COLOR_WHITE, "Your color has been set to White!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement