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

Help on making a hero admin-only


Post New Thread Reply   
 
Thread Tools Display Modes
Rolnaaba
Veteran Member
Join Date: May 2006
Old 04-23-2007 , 11:58   Re: Help on making a hero admin-only
Reply With Quote #11

...*sigh* post your .sma and I will fix it
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
StevnJ9971
Senior Member
Join Date: Sep 2006
Location: California
Old 04-23-2007 , 20:22   Re: Help on making a hero admin-only
Reply With Quote #12

I have 2. Can you do it and possibly highlight or something where you inserted it? I'd really like to be able to do it by myself.

And if possible, please make it based on the admin level c.

Thanks so much!
Attached Files
File Type: sma Get Plugin or Get Source (sh_casper.sma - 605 views - 9.4 KB)
File Type: sma Get Plugin or Get Source (sh_bass.sma - 626 views - 10.0 KB)
__________________
[IMG]http://img208.**************/img208/1706/userbar262772da7.gif[/IMG]
StevnJ9971 is offline
Send a message via AIM to StevnJ9971
Rolnaaba
Veteran Member
Join Date: May 2006
Old 04-24-2007 , 08:43   Re: Help on making a hero admin-only
Reply With Quote #13

done this should work:
Attached Files
File Type: sma Get Plugin or Get Source (sh_bass.sma - 418 views - 10.7 KB)
File Type: sma Get Plugin or Get Source (sh_casper.sma - 475 views - 10.1 KB)
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
StevnJ9971
Senior Member
Join Date: Sep 2006
Location: California
Old 04-24-2007 , 21:22   Re: Help on making a hero admin-only
Reply With Quote #14

They won't compile.

Casper:
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// sh_casper.sma
// C:\server\cstrike\addons\amxmodx\scripting\sh_casper.sma(91) : error 017: und
efined symbol "gCasperSelected"
// C:\server\cstrike\addons\amxmodx\scripting\sh_casper.sma(91) : warning 215: e
xpression has no effect
// C:\server\cstrike\addons\amxmodx\scripting\sh_casper.sma(91) : error 001: exp
ected token: ";", but found "]"
// C:\server\cstrike\addons\amxmodx\scripting\sh_casper.sma(91) : error 029: inv
alid expression, assumed zero
// C:\server\cstrike\addons\amxmodx\scripting\sh_casper.sma(91) : fatal error 10
7: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file C:\server\cstrike\addons\amxmodx\scripting\compi
led\sh_casper.amx (compile failed).
//
// Compilation Time: 0.47 sec
// ----------------------------------------

Press enter to exit ...
Bass:
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// sh_bass.sma
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(157) : error 017: unde
fined symbol "gBassSelected"
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(157) : warning 215: ex
pression has no effect
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(157) : error 001: expe
cted token: ";", but found "]"
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(157) : error 029: inva
lid expression, assumed zero
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(157) : fatal error 107
: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file C:\server\cstrike\addons\amxmodx\scripting\compi
led\sh_bass.amx (compile failed).
//
// Compilation Time: 0.31 sec
// ----------------------------------------

Press enter to exit ...
__________________
[IMG]http://img208.**************/img208/1706/userbar262772da7.gif[/IMG]
StevnJ9971 is offline
Send a message via AIM to StevnJ9971
Rolnaaba
Veteran Member
Join Date: May 2006
Old 04-25-2007 , 08:14   Re: Help on making a hero admin-only
Reply With Quote #15

sry forgot to declare varriables should work fine now:
Attached Files
File Type: sma Get Plugin or Get Source (sh_bass.sma - 121 views - 10.8 KB)
File Type: sma Get Plugin or Get Source (sh_casper.sma - 216 views - 9.9 KB)
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
StevnJ9971
Senior Member
Join Date: Sep 2006
Location: California
Old 04-25-2007 , 21:20   Re: Help on making a hero admin-only
Reply With Quote #16

They're still not compiling correctly.

Bass:
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// sh_bass.sma
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(72) : error 029: inval
id expression, assumed zero
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(72 -- 73) : warning 21
3: tag mismatch
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(72 -- 73) : error 008:
 must be a constant expression; assumed zero
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(161) : error 017: unde
fined symbol "Bass_admincheck"
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(378) : error 088: numb
er of arguments does not match definition
// C:\server\cstrike\addons\amxmodx\scripting\sh_bass.sma(378) : error 008: must
 be a constant expression; assumed zero
//
// 5 Errors.
// Could not locate output file C:\server\cstrike\addons\amxmodx\scripting\compi
led\sh_bass.amx (compile failed).
//
// Compilation Time: 0.34 sec
// ----------------------------------------

Press enter to exit ...
Casper:
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// sh_casper.sma
// C:\server\cstrike\addons\amxmodx\scripting\sh_casper.sma(321) : error 088: nu
mber of arguments does not match definition
// C:\server\cstrike\addons\amxmodx\scripting\sh_casper.sma(321) : error 008: mu
st be a constant expression; assumed zero
//
// 2 Errors.
// Could not locate output file C:\server\cstrike\addons\amxmodx\scripting\compi
led\sh_casper.amx (compile failed).
//
// Compilation Time: 0.45 sec
// ----------------------------------------

Press enter to exit ...
__________________
[IMG]http://img208.**************/img208/1706/userbar262772da7.gif[/IMG]
StevnJ9971 is offline
Send a message via AIM to StevnJ9971
Rolnaaba
Veteran Member
Join Date: May 2006
Old 04-26-2007 , 08:33   Re: Help on making a hero admin-only
Reply With Quote #17

I suck at typing I compiled them they compile fine now:
Attached Files
File Type: sma Get Plugin or Get Source (sh_bass.sma - 564 views - 10.8 KB)
File Type: sma Get Plugin or Get Source (sh_casper.sma - 516 views - 10.1 KB)
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
StevnJ9971
Senior Member
Join Date: Sep 2006
Location: California
Old 04-28-2007 , 20:08   Re: Help on making a hero admin-only
Reply With Quote #18

They seem to work perfectly now. Thanks Rolnaaba.
__________________
[IMG]http://img208.**************/img208/1706/userbar262772da7.gif[/IMG]
StevnJ9971 is offline
Send a message via AIM to StevnJ9971
Rolnaaba
Veteran Member
Join Date: May 2006
Old 04-30-2007 , 08:29   Re: Help on making a hero admin-only
Reply With Quote #19

np, anytime
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
StevnJ9971
Senior Member
Join Date: Sep 2006
Location: California
Old 05-05-2007 , 11:28   Re: Help on making a hero admin-only
Reply With Quote #20

Okay, I just discovered a problem. Bass is able to be used by non-admins.
__________________
[IMG]http://img208.**************/img208/1706/userbar262772da7.gif[/IMG]
StevnJ9971 is offline
Send a message via AIM to StevnJ9971
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 19:27.


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