KaLu17

[pawno.pl] -> #25299

Apr 9th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.42 KB | None | 0 0
  1. forward zmien();
  2. public zmien()
  3. {
  4.     new color = random(5);
  5.     TextDrawHideForAll(napis);
  6.     switch(color)
  7.     {
  8.         case 0:     TextDrawColor(napis, 0x0066AAAA);
  9.         case 1:     TextDrawColor(napis, 0x0066BBAA);
  10.         case 2:     TextDrawColor(napis, 0x0066CCAA);
  11.         case 3:     TextDrawColor(napis, 0x0066DDAA);
  12.         case 4:     TextDrawColor(napis, 0x0066EEAA);
  13.         default:    TextDrawColor(napis, 0x0066FFAA);  
  14.     }
  15.     TextDrawShowForAll(napis);
  16.     return 1;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment