Raised This Month: $12 Target: $400
 3% 

Hero Request: Shadow Da Gangsta


Post New Thread Reply   
 
Thread Tools Display Modes
codraptor
Senior Member
Join Date: Jul 2006
Location: Florida
Old 09-27-2006 , 22:26   Re: Hero Request: Shadow Da Gangsta
Reply With Quote #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
__________________
codraptor is offline
Send a message via Yahoo to codraptor
,`.Shadow,`.
Junior Member
Join Date: Sep 2006
Old 09-28-2006 , 01:49   Re: Hero Request: Shadow Da Gangsta
Reply With Quote #12

kool thanks

ill get onto that now but im just checking but how do you make it so when you spawn you get elites cause last time i tried i failed im just about to open up the server and see if its worked but unlikely
,`.Shadow,`. is offline
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 00:11.


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