View Single Post
Plugin Info:     Modification:          Category:         
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-01-2017 , 08:15   AWP Models [XP System Support]
Reply With Quote #1



AWP Models


Description

  • A simple plugin that adds a menu from which you can choose your AWP skin. The menu can be accessed by typing /awp in the chat.


Cvars

  • am_open_at_spawn "0" -- whether the menu will be automatically opened on first spawn
  • am_save_choice "0" -- whether the selected skin will be saved via SteamID after leaving the server


Adding skins

  • The skins can be added in configs/AWPModels.ini by following the example:

    PHP Code:
    [Skin Name]
    V_MODEL path to v_ model
    P_MODEL 
    path to p_ model 
  • If the skin doesn't have a p_ model, you can choose not to add the P_MODEL field.
  • You can also add a sound when selected, assign a admin flag or a level from the rank system:

    PHP Code:
    [Skin Name]
    V_MODEL path to v_ model
    P_MODEL 
    path to p_ model
    FLAG 
    = if you want the skin to be for VIP users/adminsenter the flag here
    LEVEL 
    required level (requires OciXCrom's Rank System)
    SHOW_RANK = if set to 1, the rank name will be displayed instead of the level number (requires OciXCrom'
    s Rank System)
    XP required XP (requires OciXCrom's Rank System)
    SELECT_SOUND = sound when selecting the skin from the menu 
  • Example:

    PHP Code:
    [My Cool AWP]
    V_MODEL models/v_coolawp.mdl
    P_MODEL 
    models/p_coolawp.mdl
    FLAG 
    b
    LEVEL 
    15
    SHOW_RANK 
    1
    XP 
    5000
    SELECT_SOUND 
    coolawp/select.wav 



__________________

Last edited by OciXCrom; 07-17-2018 at 09:03.
OciXCrom is offline
Send a message via Skype™ to OciXCrom