|
Senior Member
Join Date: Jul 2006
Location: Florida
|
09-27-2006
, 22:26
Re: Hero Request: Shadow Da Gangsta
|
#11
|
(Uncle Sam Coding) Change coding where ever needed to.
Quote:
public unclesam_admincheck(id)
{
new accessLevel[10]
get_cvar_string("unclesam_adminflag", accessLevel, 9)
if ( gUncleSamSelected[id] && !(get_user_flags(id)&read_flags(accessLevel)) ) {
client_print(id, print_chat, "[SH](%s) **Admin Only** You are not authorized to use this hero", gHeroName)
gHasUncleSamPower[id] = false
client_cmd(id, "say drop %s", gHeroName)
}
}
|
Quote:
public newSpawn(id)
{
if ( gUncleSamSelected[id] && is_user_alive(id) && shModActive() ) {
set_task(0.1, "unclesam_admincheck", id)
}
}
|
Im think these codes will do im not to sure but it should be. If you reallly want to make sure ask vittu, emp`, or AssKicR they are master coders
__________________
|
|
|
|