Advertisement
Guest User

Untitled

a guest
Jan 17th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. #include <a_samp>
  2. #tryinclude <timerfix>
  3. new Timer;
  4. new Zeit = 10;
  5. new Teilnehmer[][64] =
  6. {
  7. "Suprime","Dayme","Cristo Rei","LSD_SayC","Zumbra",
  8. "BiGGian","OneMenShot","mastho","xTh0rben","Blizzn",
  9. "lukas1177","lollipop","Marc","Cololand","Beatbox (TM)",
  10. "WHiiTE'"
  11. };
  12. public OnFilterScriptInit()
  13. {
  14. return Timer = SetTimer("Auslosung",1000,true);
  15. }
  16. forward Auslosung();
  17. public Auslosung()
  18. {
  19. switch(Zeit)
  20. {
  21. case 1..10:
  22. {
  23. printf(">>> %i ...",Zeit);
  24. Zeit--;
  25. }
  26. case 0:
  27. {
  28. printf(">>> Der Gewinner ist: %s. <<<",Teilnehmer[random(sizeof(Teilnehmer))]);
  29. print("Glueckwunsch zu Infinite Crisis! .. Ich bin ja eher so der DotA Spieler...");
  30. KillTimer(Timer);
  31. //SendRconCommand("unloadfs gewinnspiel");
  32. }
  33. }
  34. return 1;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement