REQ automatic revive VIP
Good evening,
I need a plugin, which will give automatically, but with a 0.5% chance to revive the vip when they are killed. With this plugin I have attached, those with vip can write / revive. Please change it to automatic revive with random spawn, with a 0.5% chance if you can. Thank you ! PHP Code:
|
Re: REQ automatic revive VIP
PHP Code:
|
Re: REQ automatic revive VIP
Can you please integrate it ? And there its a chance of resurect 0.5 % or 1 % >? I dont want resurect all the time .. I need a lotery with a chance . Thank you !
|
Re: REQ automatic revive VIP
He already did. The "random(200)" part of the code is 0.5% chance.
|
Re: REQ automatic revive VIP
Quote:
|
Re: REQ automatic revive VIP
So you want the /revive command to exist to?
|
Re: REQ automatic revive VIP
I don't know if I was explicit enough. I want this plugin to automatically use the revive command for those who have a vip flag, but with a 0.5% chance without them writing / reviving. When that revive is received, he will be randomly placed on the map with the weapon he had before he died. The respective chance of 0.5% being active, if there are at least 2 players alive in the team of which that VIP is part.
|
Re: REQ automatic revive VIP
Quote:
|
Re: REQ automatic revive VIP
Then simply use his plugin. That's the entire code that's needed. No need to integrate anything.
|
Re: REQ automatic revive VIP
Quote:
#include <hamsandwich> public plugin_init() { RegisterHam(Ham_Killed, "player", "hamplayer_killed_post", 1) } public hamplayer_killed_post(client) { if(is_user_connected(client) && get_user_flags(client) & ADMIN_LEVEL_H && random(200) == 1) { ExecuteHam(Ham_CS_RoundRespawn, client) } } this its all i need? That plugin have /revive comand so i dont need .... You dont understand me .. |
All times are GMT -4. The time now is 15:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.