Raised This Month: $ Target: $400
 0% 

[Solved] Class Not Loading


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 11-13-2010 , 23:29   [Solved] Class Not Loading
Reply With Quote #1

Ok so... I have a few questions for you.

In the attatched mod. When loaded in a game it registers all the classes however... it skips the first item when creating the menu. any ideas?

p.s. it gets the order via the plugins.ini

Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx        ; admin base (required for any admin-related)
;admin_sql.amxx        ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx        ; basic admin console commands
adminhelp.amxx        ; help command for admin console commands
adminslots.amxx        ; slot reservation
multilingual.amxx    ; Multi-Lingual management

; Menus
menufront.amxx        ; front-end for admin menus
cmdmenu.amxx        ; command menu (speech, settings)
plmenu.amxx        ; players menu (kick, ban, client cmds.)
;telemenu.amxx        ; teleport menu (Fun Module required!)
mapsmenu.amxx        ; maps menu (vote, changelevel)
pluginmenu.amxx        ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx        ; console chat commands
antiflood.amxx        ; prevent clients from chat-flooding the server
scrollmsg.amxx        ; displays a scrolling message
imessage.amxx        ; displays information messages
adminvote.amxx        ; vote commands

; Map related
nextmap.amxx        ; displays next map in mapcycle
mapchooser.amxx        ; allows to vote for next map
timeleft.amxx        ; displays time left on map

; Configuration
pausecfg.amxx        ; allows to pause and unpause some plugins
statscfg.amxx        ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx        ; restrict weapons menu
statsx.amxx        ; stats on death or round end (CSX Module required!)
;miscstats.amxx        ; bunch of events announcement for Counter-Strike
;stats_logging.amxx    ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx    ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
clan_tag_protection.amxx
battlefield.amxx

bf_soviet.amxx
bf_radical.amxx
bf_assault.amxx
bf_specops.amxx
In this case it wont display Soviet to the T's instead their list starts with Radical. Tried switching the place of the plugin and it doesn't load which ever is the first class. Also tried sticking Clan tag protection in between to see if that would give it enough time to register the plugin but still no luck...

not sure where to go from here... so i thought i would come ask you guys... the plugin it self is very short.. and simply registers each class.. and has forwards to execute on class selection aswell as player spawn to give me a set of weapons so i can test.

Edit: Well i am an idiot its ok to laugh... Forgot to change the for loop to start at 0 (beginning of the array)
Attached Files
File Type: zip Battle Field Mod.zip (4.8 KB, 75 views)

Last edited by Doc-Holiday; 11-13-2010 at 23:34. Reason: Solved
Doc-Holiday is offline
 



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 11:26.


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