Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Die on planting
#1
if player try to plant, he die. how can i do this?
Reply

#2
Take a look at AvM. It has an anti-plant function
Download in description
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#3
Code:
while(1)
    {
        if(self getCurrentWeapon() == "briefcase_bomb_mp")
            {
                self takeWeapon("briefcase_bomb_mp");
                self iPrintLnBold("No planting!");
                self suicide();
            }
        wait 1;
    }

Edit: Damn you Azumikkel :<
Reply

#4
error - unknow function 209052 Sad
Reply

#5
Doing this may result in frustrated players. Just take away the bomb to prevent someone from planting it and be nice to your visitors.
Reply

#6
(07-02-2011, 20:45)SuperNovaAO Wrote: Doing this may result in frustrated players. Just take away the bomb to prevent someone from planting it and be nice to your visitors.

This.
I make players fly away and say a random awkward sentence.
If they try to do a glitch (proning with your back against a wall so you can't fly away, or some shit, I never learned it myself) they'll get slain.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#7
sorry for noob q, but how can i take away the bomb?
Reply

#8
Code:
while(1)
    {
        if(self getCurrentWeapon() == "briefcase_bomb_mp")
            {
                self takeWeapon("briefcase_bomb_mp");
                self iPrintLnBold("1337 Anti - Planting Protection !");
                
            }
        wait 1;
    }
[Image: lQDUjba.jpg]
Reply

#9
thanks. my last question: can someone write code for automatic press Attack Button?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable Planting on Bomb clemi555 4 3,418 11-04-2013, 07:59
Last Post: clemi555
  [Request] Bonus for planting the Bomb (s&d) islamsaab 8 4,303 09-01-2012, 12:09
Last Post: islamsaab

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.