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

[CSGO] Kitsune - DetectSmoke API


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sples1
Senior Member
Join Date: Apr 2016
Location: Kitsune Lab
Plugin ID:
7486
Plugin Version:
1.2
Plugin Category:
Technical/Development
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin will help developers to check how players interact with smokes. Track EnterSmoke, LeaveSmoke and you can check manually if the player is currently in smoke.
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, GitHub links are broken, fix it and use the Report Post button for a new review.
    Old 02-05-2021 , 07:31   [CSGO] Kitsune - DetectSmoke API
    Reply With Quote #1





    The plugin is mainly for other developers.
    This plugin was created from an older code part of an unknown person.
    I've made modifications to make it work for developer tracks.
    This plugin will help developers to check how players interact with smokes. Track EnterSmoke, LeaveSmoke and you can check manually if the player is currently in smoke.

    Include:
    Code:
    //Fired when a client enters a smoke
    forward void Kitsune_OnClientEnterSmoke(int client);
    
    //Fired when a client leaves a smoke
    forward void Kitsune_OnClientLeaveSmoke(int client);
    
    /**
     * Check if the player is currently in smoke
     * 
     * @param client				Client index
     * @return					Return true if player is in smoke, otherwise false.
     */
    native bool Kitsune_IsPlayerInSmoke(int client);


    Spoiler


    Download (1.2): here
    GitHub (1.2): here
    __________________
    Developer & Scripter from Kitsune Lab
    Contact me: Steam | My Plugins | Kitsune Lab

    Join to the community on our Discord server.
    I stopped public develops. My old/new plugins available ONLY for my Discord community.

    Last edited by Sples1; 03-20-2021 at 19:13.
    Sples1 is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 02-05-2021 , 14:55   Re: [CSGO] Kitsune - DetectSmoke API
    Reply With Quote #2

    Good job Entity.
    My suggestion would be = add support for every single grenade not just smoke, that would be cool ;)
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    `666
    AlliedModders Donor
    Join Date: Jan 2006
    Old 02-05-2021 , 16:12   Re: [CSGO] Kitsune - DetectSmoke API
    Reply With Quote #3

    Thank you.
    `666 is offline
    Sples1
    Senior Member
    Join Date: Apr 2016
    Location: Kitsune Lab
    Old 02-05-2021 , 16:46   Re: [CSGO] Kitsune - DetectSmoke API
    Reply With Quote #4

    Quote:
    Originally Posted by NanoC View Post
    Good job Entity.
    My suggestion would be = add support for every single grenade not just smoke, that would be cool ;)
    What do you mean about all grenades?
    This one tracks if player is inside a smoke ( particle ).
    I don't know what you want to track about other grenades :O

    Also I highly appreciate your feedback guys! It means a lot sometimes. <3
    __________________
    Developer & Scripter from Kitsune Lab
    Contact me: Steam | My Plugins | Kitsune Lab

    Join to the community on our Discord server.
    I stopped public develops. My old/new plugins available ONLY for my Discord community.
    Sples1 is offline
    SSheriFF
    AlliedModders Donor
    Join Date: May 2020
    Location: Israel
    Old 02-06-2021 , 11:56   Re: [CSGO] Kitsune - DetectSmoke API
    Reply With Quote #5

    Great idea, thank you!
    __________________
    Taking small private requests (Free) and big private requests (Paid).
    Contact me via Discord: WilDick#1524

    My Plugins:
    SSheriFF is offline
    `666
    AlliedModders Donor
    Join Date: Jan 2006
    Old 03-14-2021 , 13:38   Re: [CSGO] Kitsune - DetectSmoke API
    Reply With Quote #6

    Must RegPluginLibrary or get error
    Quote:
    [SM] Unable to load plugin "test.smx": Could not find required plugin "kit_detect_smoke"
    Code:
    public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)
    {
    	RegPluginLibrary("kit_detect_smoke");
    	return APLRes_Success;
    }

    Last edited by `666; 03-14-2021 at 13:38.
    `666 is offline
    Sples1
    Senior Member
    Join Date: Apr 2016
    Location: Kitsune Lab
    Old 03-20-2021 , 19:13   Re: [CSGO] Kitsune - DetectSmoke API
    Reply With Quote #7

    Quote:
    Originally Posted by `666 View Post
    Must RegPluginLibrary or get error
    Code:
    public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)
    {
    	RegPluginLibrary("kit_detect_smoke");
    	return APLRes_Success;
    }
    I really don't know how I missed that. Thank you.
    Update pushed, added Plugin Library and fixed miss-typo. <3
    __________________
    Developer & Scripter from Kitsune Lab
    Contact me: Steam | My Plugins | Kitsune Lab

    Join to the community on our Discord server.
    I stopped public develops. My old/new plugins available ONLY for my Discord community.
    Sples1 is offline
    Reply


    Thread Tools
    Display Modes

    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 13:53.


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