This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[AMXx] Revive + Weapon Chance


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-25-2011 , 18:54   [AMXx] Revive + Weapon Chance
Reply With Quote #1

Weapon + revive chance!

.:: Description ::.

This gives a player the chance to revive if he's / she's dead. The player has 20% chance to get revived. Otherwise, this plugin is very usefull for hide'n'seek using the weapon chance part!

.:: Commands ::.

amx_togglerevive <1/0>
amx_toggleweaponchance <1/0>

/revive = Gives you 20% chance to revive if you're dead!

.:: Chances ::.

8% chance - AWP 1 bullet
15% chance - Deagle with 2 bullets
30% chance - 1 HeGrenade & 1 SmokeGrenade
35% chance - 1 Flashbang

.:: Suggested plugins ::.

Attached Files
File Type: sma Get Plugin or Get Source (WeaponReviveChance.sma - 1104 views - 2.1 KB)
__________________

Last edited by Napoleon_be; 11-25-2011 at 19:01.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
fantarn
Member
Join Date: Feb 2011
Old 11-25-2011 , 19:20   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #2

nice
fantarn is offline
pacheco
Senior Member
Join Date: Jul 2011
Old 11-25-2011 , 20:19   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #3

Nice job.
__________________



pacheco is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-26-2011 , 05:54   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #4

Useless and redundant, badly coded, unapproved.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-26-2011 at 05:55.
ConnorMcLeod is offline
nkz1337
BANNED
Join Date: Apr 2011
Old 11-26-2011 , 10:39   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #5

8 percent for awp? aahaha... + Badly coded.
for awp:

PHP Code:
public fw_weapon_chance(id) {
         new 
pAwp random_num1125 )

         if( 
pAwp ) <= ) {
               new 
ent fm_give_item(id"weapon_awp")
               if( 
ent ) {
                        new 
szName[32]
                        
get_user_name(idszNamecharsmax(szName))
                        
ColorChat(0NORMAL"^x04[Weapon Chance]^x01 %s received a^x04 awp!"szName )
                        
cs_set_user_ammoent)
               }
        }


Last edited by nkz1337; 11-26-2011 at 10:42.
nkz1337 is offline
Send a message via Skype™ to nkz1337
Old 01-17-2012, 05:28
reko_o
This message has been deleted by xPaw. Reason: Flooding "thanks" posts
eivind12332
Junior Member
Join Date: Jun 2012
Old 06-27-2012 , 04:51   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #6

i cant download the plugin it says Fatal error 100 . And then it come something with colorchat
eivind12332 is offline
eivind12332
Junior Member
Join Date: Jun 2012
Old 06-27-2012 , 04:52   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #7

Plugin failed to compile! Please try contacting the author.
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/alliedmodders/forums/files/1/4/9/7/0/0/95824.attach(4) : fatal error 100: cannot read from file: "colorchat"

Compilation aborted.
1 Error.
eivind12332 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-27-2012 , 08:12   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #8

1.Learn how to use the edit button.
2.You need colorchat.inc.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-27-2012 , 12:03   Re: [AMXx] Revive + Weapon Chance
Reply With Quote #9

I'd rather not suggest you to use this plugin as i say by myself it is pretty bad coded. Alltho, thanks for using it...
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode