Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define COLOR_RED 0xFF0019FF
- #define COLOR_WHITE 0xFFFFFFFF
- stock SetPlayerColorByTeam(playerid)
- {
- new color;
- switch(GetPlayerTeam(playerid))
- {
- case 0: color = COLOR_RED;
- case 1: color = COLOR_WHITE;
- case 2: color = -1;
- }
- SetPlayerColor(playerid, color);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement