Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new colorPlayer[11];
- switch(listitem)
- {
- case 0: colorPlayer = "0xFFFFFFFF"; // White
- case 1: colorPlayer = "0x363636FF"; // Black
- case 2: colorPlayer = "0x8F8F8FFF"; // Grey
- case 3: colorPlayer = "0x009924FF"; // Dark Green
- case 4: colorPlayer = "0x00FF00FF"; // Lime Green
- case 5: colorPlayer = "0xFFFF00FF"; // Yellow
- case 6: colorPlayer = "0x001CD4FF"; // Dark Blue
- case 7: colorPlayer = "0x00FFFFFF"; // Aqua
- case 8: colorPlayer = "0xFF0000FF"; // Red
- case 9: colorPlayer = "0xB700FFFF"; // Purple
- case 10: colorPlayer = "0xFF00DDFF"; // Pink
- case 11: colorPlayer = "0x964400FF"; // Brown
- }
- SendClientMessage(playerid, colorPlayer, "You change your color!");
- SetPlayerColor(playerid, colorPlayer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement