Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:clothing(playerid, params[])
- {
- new string[MAX_PLAYER_CLOTHING * 64];
- for(new i = 0; i < MAX_PLAYER_CLOTHING; i ++)
- {
- if(ClothingInfo[playerid][i][cExists])
- {
- if(ClothingInfo[playerid][i][cAttached]) {
- format(string, sizeof(string), "%s\n{C8C8C8}%i) {00AA00}%s {FFD700}(Attached)", string, i + 1, ClothingInfo[playerid][i][cName]);
- } else {
- format(string, sizeof(string), "%s\n{C8C8C8}%i) {00AA00}%s{FFFFFF}", string, i + 1, ClothingInfo[playerid][i][cName]);
- }
- }
- else
- {
- format(string, sizeof(string), "%s\n{C8C8C8}%i) {AFAFAF}Empty Slot{FFFFFF}", string, i + 1);
- }
- }
- ShowPlayerDialog(playerid, DIALOG_CLOTHING, DIALOG_STYLE_LIST, "My clothing items", string, "Select", "Cancel");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement