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