Only pass userid instead of clientid in timer
✅ good:
CreateTimer(0.1, Timer_Example, GetClientUserId(client));
}
public Action Timer_Example(Handle tmr, int userid)
{
int client = GetClientOfUserId(userid);
#include <sourcemod> | |
#include <sdktools> | |
#include <tf2> | |
#include <tf2_stocks> | |
#include <mystocks> | |
//Check Next Test | |
/* | |
*/ |
public void At_Player_Death(Handle event, const char[] name, bool dontBroadcast) | |
{ | |
CreateTimer(0.1, DeleteOverlay, GetEventInt(event, "userid")); | |
} |
Only pass userid instead of clientid in timer
✅ good:
CreateTimer(0.1, Timer_Example, GetClientUserId(client));
}
public Action Timer_Example(Handle tmr, int userid)
{
int client = GetClientOfUserId(userid);
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
?> | |
<?php | |
// ************************************************************************* | |
// This file is part of MostActive sourcemod plugin. | |
// |
/* | |
* Prisoner Rename Plugin. | |
* by: shanapu | |
* https://github.com/shanapu/ | |
* | |
* This program is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, version 3.0, as published by the | |
* Free Software Foundation. | |
* | |
* This program is distributed in the hope that it will be useful, but WITHOUT |
#include <sourcemod> | |
#include <sdktools> | |
#define COLLISION_GROUP_DEBRIS_TRIGGER 2 | |
public Plugin myinfo = | |
{ | |
name = "CS:GO Dookie", | |
author = "Tom Delebo, edit shanapu", | |
description = "Drop a steaming hot turdburger on scrubs! - fakemodel & teabag support", |
/* | |
* MyJailShop - Shield Item Module. | |
* by: shanapu | |
* https://github.com/shanapu/MyJailShop/ | |
* https://github.com/Keplyx/TacticalShield | |
* | |
* This file is part of the MyJailShop SourceMod Plugin. | |
* | |
* This program is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, version 3.0, as published by the |
#define block decl String:jio[1][1]; for (new kl = ExplodeString(jio[0], "-", jio, 1, 1), io; io < kl; io++) break; | |
lolo() | |
{ | |
olol(); | |
} | |
olol() | |
{ | |
lolo(); |
#include<cstrike> | |
public void OnPluginStart() | |
{ | |
HookEvent("player_death", Event_PlayerDeath); | |
} | |
public void Event_PlayerDeath(Event event, char[] name, bool dontBroadcast) | |
{ | |
if (GetAlivePlayersTeamCount(CS_TEAM_T) == 1) |
bind "KP_INS" "buy vesthelm;buy vest" | |
bind "KP_END" "buy tec9; buy cz75a" | |
bind "KP_DOWNARROW" "buy p90" | |
bind "KP_PGDN" "buy deagle" | |
bind "KP_LEFTARROW" "buy famas;buy galilar" | |
bind "KP_5" "buy ak47;buy m4a1" | |
bind "KP_RIGHTARROW" "buy aug;buy sg556" | |
bind "KP_HOME" "buy negev" | |
bind "KP_UPARROW" "buy scar20;buy g3sg1" | |
bind "KP_PGUP" "buy awp" |