Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main()
- {
- SetDvar("g_speed", 250);
- SetDvar("g_gravity", 100);
- SetDvar("jump_height", 350);
- SetDvar("cg_fovscale", 2);
- thread onSpawn();
- level.trailfx = loadFX( "smoke/wall_explosion_smoke" );
- level waittill("round_started");
- players = GetEntArray("player","classname");
- for(i=0;i<players.size;i++)
- {
- players[i] Suicide();
- players[i] iPrintlnBold("^3WTF are you doing ^9" + players[i].name + "^3?!!!");
- players[i] sayAll("I must have been born on the highway because that is where most of the accidents happen...");
- }
- }
- onSpawn()
- {
- while(1)
- {
- level waittill("player_spawn", player); // Not sure if it's the correct notify we're waiting for #iPod :dave:
- player thread giveLoadout();
- player thread trail();
- }
- }
- giveLoadout()
- {
- self TakeAllWeapons();
- self GiveWeapon("dildo_gun");
- self GiveMaxAmmo("dildo_gun");
- wait .01;
- self SwitchToWeapon("dildo_gun");
- }
- trail()
- {
- while( isAlive( self ) )
- {
- playFX( level.trailfx, self.origin )
- wait 0.1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement