SHOW:
|
|
- or go back to the newest paste.
1 | /* Coulour System is Updated at 16.1.2014 | |
2 | This system is Created by Legena! | |
3 | I hope it will like to you! | |
4 | And i want that yours servers looking nice. | |
5 | ||
6 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
7 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARRING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
8 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
9 | Dont remove credits or Filterscript wont work!!!!!!!!! | |
10 | */ | |
11 | ||
12 | ////////// INCLUDES ////////////////////////////////////////////////////////// | |
13 | ||
14 | #include <a_samp> | |
15 | #include <zcmd> | |
16 | ||
17 | public OnFilterScriptInit() | |
18 | { | |
19 | print("\n----------------------------------"); | |
20 | print(" Colour System by Legena Loaded "); | |
21 | print("----------------------------------\n"); | |
22 | return 1; | |
23 | } | |
24 | ||
25 | public OnFilterScriptExit() | |
26 | { | |
27 | return 1; | |
28 | } | |
29 | ////////// COMMANDS ////////////////////////////////////////////////////////// | |
30 | ||
31 | CMD:colour(playerid,params[]) | |
32 | { | |
33 | - | ShowPlayerDialog(playerid, 500, DIALOG_STYLE_LIST, "Colours", "Green \nRed \nYellow \nBlue \nOrange \nPink \nGold \nAqua \nLime\nBlack \nWhite \nGrey \nPurple", "Select", "Cancel"); |
33 | + | ShowPlayerDialog(playerid, 500, DIALOG_STYLE_LIST, "Colour System by Legena", "Green \nRed \nYellow \nBlue \nOrange \nPink \nGold \nAqua \nLime\nBlack \nWhite \nGrey \nPurple", "Select", "Cancel"); |
34 | return 1; | |
35 | } | |
36 | ||
37 | ||
38 | public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) | |
39 | { | |
40 | switch(dialogid) | |
41 | { | |
42 | case 500: | |
43 | { | |
44 | if(response) | |
45 | { | |
46 | if(listitem == 0) | |
47 | { | |
48 | SetPlayerColor(playerid, 0x33AA33AA); | |
49 | SendClientMessage(playerid, 0x33AA33AA, "Your Name Has Changed To Green"); | |
50 | } | |
51 | if(listitem == 1) | |
52 | { | |
53 | SetPlayerColor(playerid, 0xAA3333AA); | |
54 | SendClientMessage(playerid, 0xAA3333AA, "Your Name Has Changed To Red"); | |
55 | } | |
56 | if(listitem == 2) | |
57 | { | |
58 | SetPlayerColor(playerid, 0xFFFF00AA); | |
59 | SendClientMessage(playerid, 0xFFFF00AA, "Your Name Has Change To Yellow"); | |
60 | } | |
61 | if(listitem == 3) | |
62 | { | |
63 | SetPlayerColor(playerid, 0x0000FFAA); | |
64 | SendClientMessage(playerid, 0x0000FFAA, "Your Name Has Change To Blue"); | |
65 | } | |
66 | if(listitem == 4) | |
67 | { | |
68 | SetPlayerColor(playerid, 0xFF9900AA); | |
69 | SendClientMessage(playerid, 0xFF9900AA, "Your Name Has Change To Orange"); | |
70 | } | |
71 | if(listitem == 5) | |
72 | { | |
73 | SetPlayerColor(playerid, 0xD4A017AA); | |
74 | SendClientMessage(playerid, 0xD4A017AA, "Your Name Has Change To Gold"); | |
75 | } | |
76 | if(listitem == 6) | |
77 | { | |
78 | SetPlayerColor(playerid, 0xFF00FFAA); | |
79 | SendClientMessage(playerid, 0xFF00FFAA, "Your Name Has Change To Pink"); | |
80 | } | |
81 | if(listitem == 7) | |
82 | { | |
83 | SetPlayerColor(playerid, 0x00FFFFAA); | |
84 | SendClientMessage(playerid, 0x00FFFFAA, "Your Name Has Change To Aqua"); | |
85 | } | |
86 | if(listitem == 8) | |
87 | { | |
88 | SetPlayerColor(playerid, 0x00FF00AA); | |
89 | SendClientMessage(playerid, 0x00FF00AA, "Your Name Has Change To Lime"); | |
90 | } | |
91 | if(listitem == 9) | |
92 | { | |
93 | SetPlayerColor(playerid, 0x00000000); | |
94 | SendClientMessage(playerid, 0x00000000, "Your Name Has Change To Black"); | |
95 | } | |
96 | if(listitem == 10) | |
97 | { | |
98 | SetPlayerColor(playerid, 0xFFFFFFFF); | |
99 | SendClientMessage(playerid, 0xFFFFFFFF, "Your Name Has Change To White"); | |
100 | } | |
101 | if(listitem == 11) | |
102 | { | |
103 | SetPlayerColor(playerid, 0x6c6c6cAA); | |
104 | SendClientMessage(playerid, 0x6c6c6cAA, "Your Name Has Change To Grey"); | |
105 | if(listitem == 12) | |
106 | { | |
107 | SetPlayerColor(playerid, 0x800080AA); | |
108 | SendClientMessage(playerid, 0x800080AA, "Your Name Has Change To Purple"); | |
109 | } | |
110 | } | |
111 | } | |
112 | } | |
113 | } | |
114 | } | |
115 | ////////// FINISHED ////////////////////////////////////////////////////////// |