[CS:GO]Set Defuse Time

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO]Set Defuse Time

Post by Andreeas » Mon Jan 27, 2020 5:09 pm

Description:
First of all, the idea is come from Counter-Strike 1.6, and the original thread here:
https://forums.alliedmods.net/showthread.php?t=158345. For sure the author is me
and the AMXX version was done by Arkshine, so I port it to the SourceMod(only test on CS:GO, and I lazy to make it for the CS:S)

native:
PHP Code:
/**
* Set the player defuse bomb time
*
* @param client index point to the player
* @param time1 the time that the player defuse the bomb with the kit
* @param time2 the time that the player defuse the bomb without the kit
*
* @return return 1 on success, otherwise on failed.
*/
native SetClientDefuseTime(client, time1, time2);
comment:
This is my first public plugin for SourceMod, any feedback or suggestions are welcome
test on CS:GO and work fine.

update:lastest source herehttps://github.com/LittleKu/SourceMo.../SetDefuseTime

Download
Source

Post Reply

Return to “Technical/Development”