Raised This Month: $93 Target: $400
 23% 

Showing results 1 to 25 of 337
Search took 0.04 seconds.
Search: Posts Made By: Ilusion9
Forum: Scripting Today, 08:08
Replies: 3
Views: 538
Posted By Ilusion9
Re: [CS:GO] Ban opon game reason

You should test the code, avoid using directly in your plugin.
TextMsg doesn't trigger the message of players disconnecting, not even SayText or SayText2.

Check for spawn kills and team damage in...
Forum: Scripting 09-15-2019, 08:52
Replies: 3
Views: 538
Posted By Ilusion9
Re: [CS:GO] Ban opon game reason

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Player Disconnect Reasons
//...
Forum: Off-Topic 09-12-2019, 03:52
Replies: 14
Views: 1,443
Posted By Ilusion9
Re: about the newest cs 1.6 update

+1
they are against people that are making money from their game in an "illegal" way.
1.6 should be fixed and then forgotten by everyone.
Forum: Scripting 09-09-2019, 06:08
Replies: 10
Views: 638
Posted By Ilusion9
Re: How to Find Nearest Object & Entity (Help please)

use tabs, avoid spaces for indenting rows.
Forum: Scripting 09-08-2019, 04:57
Replies: 2
Views: 435
Posted By Ilusion9
Re: How do you get the held weapon id?

GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon")

Searching on this forum can lead you to treasures.
Forum: Plugins 09-07-2019, 14:58
Replies: 25
Views: 10,996
Posted By Ilusion9
Re: [CS:GO/CS:S] Admin Stealth

but you have to type the command to be invisible even when you are already spectator.
Forum: Snippets and Tutorials 09-07-2019, 06:41
Replies: 28
Views: 7,519
Posted By Ilusion9
Re: Random Code Archive

ShowSyncHudTextToAll:



stock void ShowSyncHudTextToAll(Handle syncObj, const char[] format, any ...)
{
char buffer[254];

for (int i = 1; i <= MaxClients; i++)
{
Forum: Plugins 09-07-2019, 06:37
Replies: 3
Views: 437
Posted By Ilusion9
Re: [CS:GO] CSS:DM Fix

Then code something else? Setting some convars inside a plugin doesn't make the plugin a real gamemode manager, you know?
Also, you forgot mp_randomspawn :nono:
Forum: Plugins 09-07-2019, 06:22
Replies: 0
Views: 352
Posted By Ilusion9
[CS:GO] Deathrun Warmup

This plugin provides warmup for the deathrun gamemode. The warmup will be triggered every round.

ConVars:

dr_warmup_duration 30 // How long the warmup period lasts?
dr_warmup_hide_world_kills...
Forum: Plugin/Gameplay Ideas and Requests 09-06-2019, 09:05
Replies: 1
Views: 317
Posted By Ilusion9
Forum: Scripting 09-06-2019, 05:01
Replies: 3
Views: 420
Posted By Ilusion9
Re: How does SQL_FetchInt work??

You need to do a select query:

select xp, level from stats where steamid = %d

Then in the thread function you fetch the row and then you fetch the columns:



if (rs.FetchRow())
{
Forum: Plugins 09-03-2019, 04:56
Replies: 13
Views: 1,290
Posted By Ilusion9
Re: [CSGO] Bombsite Limiter

Updated.
It seems that round_freeze_end event doesn't trigger on competitive gamemode. Now it's fixed.
Forum: General 09-02-2019, 09:27
Replies: 8
Views: 644
Posted By Ilusion9
Re: [CS:GO] Cannot run local server windows

It's crashing with the latest stable metamod version, without it it's working fine.


#
#Console initialized.
#Using breakpad minidump system 740/13711.971.DC
#Loading VPK file hashes for pure...
Forum: General 09-02-2019, 08:57
Replies: 8
Views: 644
Posted By Ilusion9
[CS:GO] Cannot run local server windows

Hello, I've installed a local dedicated server through steamcmd. Everything works fine (I can join my local server, it appears at Local servers) until I install sourcemod. I have tried latest stable...
Forum: Plugins 09-02-2019, 05:25
Replies: 9
Views: 1,829
Posted By Ilusion9
Re: [ANY] List disconnections [SM 1.10]

The source from 12 hours ago on your github doesn't compile with the latest Sourcemod includes.



You need at least sourcemod 1.10, because this plugin is using enum structs.
Forum: Plugin/Gameplay Ideas and Requests 09-01-2019, 07:49
Replies: 4
Views: 474
Posted By Ilusion9
Re: sm_last Plugin

https://forums.alliedmods.net/showthread.php?p=2642903
Forum: Scripting 09-01-2019, 05:08
Replies: 6
Views: 912
Posted By Ilusion9
Re: Scripting ConVar

or sm_cvar mp_restartgame 1
Forum: Scripting 09-01-2019, 05:07
Replies: 8
Views: 757
Posted By Ilusion9
Re: How to check if a client is a bot?

Yeah, but he needs to print the clients name which can be retrieved in and after OnClientPutInServer() function triggers.

Just do things in OnClientPostAdminCheck() to avoid some mess.
Forum: Scripting 08-30-2019, 05:56
Replies: 5
Views: 672
Posted By Ilusion9
Re: Weird issue cant figure out

remove game_player_equip entities
Forum: Plugin/Gameplay Ideas and Requests 08-29-2019, 05:27
Replies: 5
Views: 435
Posted By Ilusion9
Re: [CS:GO][REQ] JailBreak Revolt Sound

#include <sourcemod>
#include <cstrike>
#include <sdktools>

bool g_bRebellion;

public void OnPluginStart()
{
HookEvent("player_hurt", Event_PlayerHurt);
HookEvent("round_start",...
Forum: Scripting 08-29-2019, 05:21
Replies: 5
Views: 672
Posted By Ilusion9
Re: Weird issue cant figure out

if (Random == 15) {
LastWeaponNumber = Random;
return;
}



Here's your problem.
Forum: Scripting 08-29-2019, 05:12
Replies: 8
Views: 757
Posted By Ilusion9
Re: How to check if a client is a bot?

#pragma semicolon 1

#include <sourcemod>
#include <sdktools>
#include <geoip>

public void OnClientPostAdminCheck(int client)
{
if (IsFakeClient(client)) return;
Forum: Source Servers (SRCDS) 08-26-2019, 13:10
Replies: 2
Views: 361
Posted By Ilusion9
Re: [CSGO] Disabling custom map configs

check csgo/bspconvar_whitelist.txt
Forum: Plugin/Gameplay Ideas and Requests 08-26-2019, 08:40
Replies: 17
Views: 1,553
Posted By Ilusion9
Re: [CSGO] bot quota fix

I'm trying to solve the bot_quota problem.
Can someone test this plugin on a deathmatch server with bot_quota_mode on "fill" value?
It should work properly.
Forum: Scripting 08-24-2019, 06:35
Replies: 4
Views: 646
Posted By Ilusion9
Re: [CS:GO] Dynamic permissions with convar

Register the commands as regular console commands (RegConsoleCmd) and check within them those flags.
Showing results 1 to 25 of 337

 
Forum Jump

All times are GMT -4. The time now is 15:19.


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