Advertisement
Guest User

Untitled

a guest
Jan 15th, 2019
788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. forward RandomBojeTD();
  2. public RandomBojeTD()
  3. {
  4. new wow = random(12);
  5. switch(wow)
  6. {
  7. case 0..2: TextDrawColor(TDEditor_TD[3], 1100598527);//UPISITE VASE IME TD-A KOJI ZELITE DA MENJA BOJU
  8. case 3..5: TextDrawColor(TDEditor_TD[3], 0x1A94E6FF);
  9. case 6..8: TextDrawColor(TDEditor_TD[3], 0x00FF00FF);
  10. case 9..11: TextDrawColor(TDEditor_TD[3], 0x8F33D6FF);
  11. default: TextDrawColor(TDEditor_TD[3], 1100598527);
  12. }
  13. for(new i; i<=GetPlayerPoolSize();i++)
  14. {
  15. TextDrawShowForPlayer(i, TDEditor_TD[3]);
  16. }
  17. return 1;
  18. }
  19.  
  20. //DODAJTE POD OnGameModeInit
  21.  
  22. SetTimer("RandomBojeTD", 10000, true);//PODESITE SEBI TIMER NA PRIMER HOCETE 4 SEC 40000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement