Ultimate Revive
1 Attachment(s)
Ultimate Revive v1.2 With this plugin on your server, you can revive a player,team or all players with x hp and x armor. Also, a nice green screen fade on revive :) Changelog: [1.2] - changes in code [1.1] - Fixed bug at respawn - You don't have to write the hp and armor arguments if you don't want to...the plugin uses the default values: 100 hp and 0 armor. - Removed fun module [1.0] - First relesead Credits: - GHW_Chronic -- fakemeta functions - VEN -- give_item stock Modules: Fakemeta Command: amx_revive <player/@/@T/@CT> <hp> <armor> - respawn a player,team or all player with x hp and x armor. You don't have to write the hp and armor. @ - all players @T - terrorists @CT - counter-terrorists Info: - If you don't type the hp and the armor, the plugin use the default values: 100 hp and 0 armor. - Every player gets a knife,glock or a usp, depending on his team, and default ammo. - If you want to change to color of the screnfade, change in sma: Quote:
Examples:
|
Re: Ultimate Revive
No point in having these as globals: new name[32],namet[32],teamname[24],tname[16];
No need for this if(!arg3[0]) armor = 0 (if it is not a valid num str_to_num returns 0) Instead of copying a tname, it is better to just use get_players within the if statements. get_players is known to be buggy with the 'e' flag. (would recommend using another method to find players on a team) I recommend you using @ALL instead of just @ as most other plugins use @ALL. |
Re: Ultimate Revive
just to prevent errors
PHP Code:
|
Re: Ultimate Revive
1. Global variables - changed
2. if(!arg3[0]) - changed 3. get_player - added "b" flag 4. @ - not changed |
Re: Ultimate Revive
FakeMeta & Fun? o_O
|
Re: Ultimate Revive
You credited wrong person imo. give_item stock credit should go for VEN?
@ Quote:
|
Re: Ultimate Revive
@ grimvh2 : changed
@ hleV : only fakemeta |
Re: Ultimate Revive
1.0 -> 1.1...check first post!
|
Re: Ultimate Revive
Waiting for a confirmation that works.
|
Re: Ultimate Revive
I've tested and it works fine :)
|
All times are GMT -4. The time now is 21:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.