Raised This Month: $ Target: $400
 0% 

[CSGO] Buy Riot Shields for comp/community


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Enrory
Senior Member
Join Date: Nov 2016
Location: Austria
Plugin ID:
6561
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allow Players to Buy new Riot Shields
    Old 08-19-2019 , 16:13   Re: [CSGO] Buy Riot Shields for comp/community
    Reply With Quote #1

    Quote:
    Originally Posted by canadianfoodguy View Post
    ] rcon sm_buyshield
    L 08/19/2019 - 15:05:12: [SM] Exception reported: Property "m_bInBuyZone" not found (entity 0/worldspawn)
    L 08/19/2019 - 15:05:12: [SM] Blaming: buyshield_v1.2.smx
    L 08/19/2019 - 15:05:12: [SM] Call stack trace:
    L 08/19/2019 - 15:05:12: [SM] [0] GetEntProp
    L 08/19/2019 - 15:05:12: [SM] [1] Line 27, /home/forums/content/files/2/4/6/0/2/9/175476.attach::BuyShieldCMD

    couldn't find the shield in the buy menu so i used sm_buyshield and this is what I got. I'm pretty sure I was in a buyzone when entering that command
    use in buyzone and type !buyshield in chat
    __________________
    Enrory is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 08-20-2019 , 05:52   Re: [CSGO] Buy Riot Shields for comp/community
    Reply With Quote #2

    PHP Code:
    public Action BuyShieldCMD(int clientint args
    {
        if (
    client == 0) return Plugin_Handled// add this line

        
    if(RequireBuyZone)
        { 
    Add translation to this plugin and avoid this: "The Buy Time Has Expired For This Round.". It's looking ugly and it should be like this: "The buy time has expired for this round."
    __________________

    Last edited by Ilusion9; 08-20-2019 at 05:53.
    Ilusion9 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 17:43.


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