Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Spawn protection function
- spTimer()
- {
- self endon("disconnect");
- self endon("death");
- setDvar( "spawn_protection", 1 );
- self thread spNotify();
- wait 7.0;
- setDvar( "spawn_protection", 0 );
- }
- //Spawn protection function
- spNotify()
- {
- self endon("disconnect");
- self endon("death");
- self.spTXT setText("");
- self.spTXT = false;
- self.spTXT = self createFontString("objective", 1.25);
- self.spTXT setPoint("TOPRIGHT", "TOPRIGHT", -20, 7);
- self.spTXT setText("Spawn protection ^2ON ^70:07");
- wait 1.0;
- self.spTXT setText("Spawn protection ^2ON ^70:06");
- wait 1.0;
- self.spTXT setText("Spawn protection ^2ON ^70:05");
- wait 1.0;
- self.spTXT setText("Spawn protection ^2ON ^70:04");
- wait 1.0;
- self.spTXT setText("Spawn protection ^2ON ^70:03");
- wait 1.0;
- self.spTXT setText("Spawn protection ^2ON ^70:02");
- wait 1.0;
- self.spTXT setText("Spawn protection ^2ON ^70:01");
- wait 1.0;
- self.spTXT setText("Spawn protection ^2ON ^70:00");
- wait 1.0;
- self.spTXT setText("Spawn protection ^1OFF");
- wait 1.0;
- self.spTXT setText("");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement