View Single Post
Author Message
Sples1
Senior Member
Join Date: Apr 2016
Location: Kitsune Lab
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