AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Tech Support (https://forums.alliedmods.net/forumdisplay.php?f=36)
-   -   Flag Hero problem. (https://forums.alliedmods.net/showthread.php?t=252437)

GuardiaNN 12-02-2014 14:03

Flag Hero problem.
 
Hello, as you might tell from the title i need help with making some heroes have special flag(ex. Grim reaper can be used only with flag "n") the heroes i want to make flag heroes are Grim Reaper, Ice Man and Slayer.
I have been searching for a while now and sh_adminrestrict/sh_restricter both don't work for me.. i know how to use them but it just wont work..
The next thing i found is that i can add the "Uncle Sam" "Only Admin" code to the .sma file of my hero, the problem is i have 0.00% knowledge about scripting.. i want to learn it but i just can't it's just WAAAY confusing for me.
So can you tell me any way i can do this,

My admin_restrict.ini which is in my cstrike/addon/amxmodx/config/shero
Code:

;This file is used to tell sh_adminrestrict which heros are restricted to specific user flags, i.e. admin/vip
;it should be located in the configs/shero/ directory

;Basic format is as follows
;!<flags>
;<heroname1> <heroname2>        heros which are restricted by the specified flags
;<heroname3> ...            can also seperate by newline not just space if need be

;you can create more than 1 group for a specific set of flags i.e. you can set differant levels of admin restricted heros (vip, lower admin, higher admin, etc)
;though if you want a particular hero to be used by 2 or more groups, do not list the hero in both groups as that will glitch the plugin, instead create a
;new group with both sets of flags(i.e. say one group is restricted to flag t and another to b then set the new one to bt)
;keep in mind that hero's which are more than 1 word long should be put in between "" so plugin doesn't assume otherwise
;Example usage:

;!t
;Anubis Bass Beast "Black Panther"
;Bazooka BombSquad

;!ahg
;"Captain America"
;"Crimson Chin"


!n
"Grim Reaper"
"Ice Man"
"Slayer"

So if anybody can help me i would be grateful because i've been trying to get this to work for 3 days and i failed..
Oh and sorry if the title is confusing i really don't know how to name it.:shock:
Thanks for reading!

GuardiaNN 12-03-2014 06:37

Re: Flag Hero problem.
 
Just asking...(not a bump) is anybody even answering here anymore?


All times are GMT -4. The time now is 08:06.

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