Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 7
1
2
3
>
Last
»
Showing results 1 to 25 of 157
Search took
0.01
seconds.
Search:
Posts Made By:
impossible_cc
Forum:
Scripting
10-01-2019, 07:27
Replies:
1
Solved
What are the default Variable Values?
Views:
1,042
Posted By
impossible_cc
Re: What are the default Variable Values?
for any primitive data type
default(type) = view_as<type>(0)
Handle = view_as<Handle>(0);
(same as null or INVALID_HANDLE)
bool = false, float = 0.0, char = view_as<char>(0), etc.
Forum:
Scripting
08-19-2019, 15:06
Replies:
1
[csgo] csweaponid for new weapons
Views:
1,391
Posted By
impossible_cc
[csgo] csweaponid for new weapons
Is there any csweaponids for weapon_fists, weapon_axe?
I cant find it here -> cstrike api (https://sm.alliedmods.net/new-api/cstrike/CSWeaponID)
Usually I store a weapon type with csweaponid, but...
Forum:
Scripting
08-09-2019, 08:49
Replies:
8
Passing string to CreateTimer Function
Views:
3,710
Posted By
impossible_cc
Re: Passing string to CreateTimer Function
Maybe there is more efficient method, but this should work
#define STEAMID_CHARSTR_LENGTH 25
...(...)
{
char steamid[STEAMID_CHARSTR_LENGTH];
if(GetClientAuthId(client, AuthId_Steam2,...
Forum:
Scripting
07-23-2019, 10:53
Replies:
4
(L4D2) server cookie?
Views:
1,648
Posted By
impossible_cc
Re: (L4D2) server cookie?
You can use convar instead
Forum:
Scripting
07-19-2019, 04:47
Replies:
2
Solved
Out-of-bound array index
Views:
2,590
Posted By
impossible_cc
Re: [CS:GO] The value of m_hObserverTarget does'n work
It means that fClient[iTarget[client]] is out of bounds of array. So you just need to check this before line 47.
if(iTarget[client]>MaxClients || iTarget[client] <= 0)
{
return;
}
Forum:
Scripting
06-29-2019, 16:20
Replies:
3
[L4D2]Why this cause tank instant spawn when rount start?
Views:
1,308
Posted By
impossible_cc
Re: [L4D2]Why this cause tank instant spawn when rount start?
Also don't use TIMER_FLAG_NO_MAPCHANGE if you have a variable (Handle) which tracks timer condition, because if timer gets killed on map end, variable doesnt become equal to INVALID_HANDLE or null,...
Forum:
Scripting
06-24-2019, 19:11
Replies:
2
How to 'hook' when player uses heavy attack with knife
Views:
1,361
Posted By
impossible_cc
Re: How to 'hook' when player uses heavy attack with knife
Sorry for my English, but that is not what I want.
'Force player to use heavy attack' means force to do that right now, but not just to forbid primary attack. So I want to make player to do...
Forum:
Scripting
06-24-2019, 16:46
Replies:
2
How to 'hook' when player uses heavy attack with knife
Views:
1,361
Posted By
impossible_cc
How to 'hook' when player uses heavy attack with knife
csgo.
Is there any way to catch when player attacks heavily (right-click) with knife.
weapon_fire event triggers only for left-click attacks.
Also second question, is it possible to 'force'...
Forum:
Scripting
06-19-2019, 17:57
Replies:
2
Forbidate pressing IN_ATTACK and INT_ATTACK2
Views:
1,472
Posted By
impossible_cc
Re: Forbidate pressing IN_ATTACK and INT_ATTACK2
Sorry for late response
//To block attack
CreateTimer(0.3, Timer_BlockAttack, client, TIMER_REPEAT);
//
public Action Timer_BlockAttack(Handle t, int client)
{
if(...)
{
Forum:
Scripting
06-17-2019, 14:10
Replies:
5
Solved
How to make blur effect
Views:
1,916
Posted By
impossible_cc
Re: How to make blur effect
Thanks, I will try
Forum:
Scripting
06-17-2019, 14:09
Replies:
5
Solved
How to make blur effect
Views:
1,916
Posted By
impossible_cc
Re: How to make blur effect
Thanks a lot! This is what I was looking for.
Forum:
Scripting
06-17-2019, 03:25
Replies:
5
Solved
How to make blur effect
Views:
1,916
Posted By
impossible_cc
Re: How to make blur effect
It looks like that. Can someone explain me how to do that?
http://ipic.su/img/img7/fs/4WssdicZ_fU_1.1560756280.jpg
Forum:
Scripting
06-12-2019, 19:13
Replies:
5
Solved
How to make blur effect
Views:
1,916
Posted By
impossible_cc
How to make blur effect
game - csgo. So i want to make entity transparent and blurred. So it looks almost invisible, but it blurs things that is behind that entity.
Thanks in advance!
Forum:
Scripting
05-29-2019, 16:08
Replies:
3
[CSS] Simple vote
Views:
1,634
Posted By
impossible_cc
Re: [CSS] Simple vote
You dont need a plugin for that.
All you have to do is write
!vote do you like server
in chat
or
Forum:
Scripting
05-28-2019, 17:56
Replies:
5
CSGO get the winning team on the Match end with all players in the team
Views:
1,911
Posted By
impossible_cc
Re: CSGO get the winning team on the Match end with all players in the team
game_end should work.
https://wiki.alliedmods.net/Generic_Source_Events#game_start
Forum:
Scripting
05-27-2019, 17:05
Replies:
6
Call an Action function from another function
Views:
1,546
Posted By
impossible_cc
Re: Call an Action function from another function
public int Native_Give_Points(Handle:plugin, int numParams)
{
int arg1; // id of the function caller
char arg2[32]; // give points to this name
int arg3; // amount of points
arg1 =...
Forum:
Scripting
05-27-2019, 17:03
Replies:
6
Call an Action function from another function
Views:
1,546
Posted By
impossible_cc
Re: Call an Action function from another function
Action is just a type of returning value.
You should use predetermined amount of parameters, or if you dont know exactly how many parameters will be passed, use array as param.
Forum:
Scripting
05-03-2019, 16:43
Replies:
5
Help by example how to create a multi-stage menu?
Views:
1,381
Posted By
impossible_cc
Re: Help by example how to create a multi-stage menu?
#include <sourcemod>
int g_iChoosenInMenu[MAXPLAYERS + 1];
public void OnPluginStart()
{
RegConsoleCmd("sm_menu", Cmd_menu);
}
public Action Cmd_menu(int client, int args)
Forum:
Scripting
05-03-2019, 16:25
Replies:
5
Help by example how to create a multi-stage menu?
Views:
1,381
Posted By
impossible_cc
Re: Help by example how to create a multi-stage menu?
Not tested, probably there is better way to do it
Может можно и по-другому, я вижу это так. Могу написать что-то подробнее если нужно.
#include <sourcemod>
int g_iChoosenInMenu[MAXPLAYERS...
Forum:
Scripting
05-03-2019, 16:07
Replies:
5
Help by example how to create a multi-stage menu?
Views:
1,381
Posted By
impossible_cc
Re: Help by example how to create a multi-stage menu?
What do you mean "get all that is selected in the public"?
Что значит "получить всё, что выбрано в паблик"?
Forum:
Scripting
04-25-2019, 15:22
Replies:
10
Crash AcceptEntityInput
Views:
2,563
Posted By
impossible_cc
Re: Crash AcceptEntityInput
Safer way
#pragma semicolon 1
#include <sdkhooks>
#include <sdktools>
public OnEntityCreated( entity, const String:classname[] )
{
Forum:
Scripting
04-24-2019, 10:08
Replies:
3
[CS:GO] Entity with gravity
Views:
1,659
Posted By
impossible_cc
Re: [CS:GO] Entity with gravity
As I know (I'm not sure), you cannot set velocity for prop entities. _projectile entities work with velocity. Try hegrenade_projectile or smokegrenade_projectile instead of decoy_projectile.
Forum:
Scripting
04-22-2019, 13:04
Replies:
4
Solved
Tag mismatch - new syntax
Views:
1,657
Posted By
impossible_cc
Re: Tag mismatch - new syntax
float iRoundHeight = RoundFloat(fOrigin[2]);
RoundFloat returns int.
So you should do
float iRoundHeight = fOrigin[2];
Forum:
Scripting
04-15-2019, 12:30
Replies:
10
Crash AcceptEntityInput
Views:
2,563
Posted By
impossible_cc
Re: Crash AcceptEntityInput
Not tested but should work
#pragma semicolon 1
#include <sdkhooks>
#include <sdktools>
public OnEntityCreated( entity, const String:classname[] )
{
Forum:
Scripting
04-12-2019, 16:47
Replies:
1
Group Money
Views:
1,321
Posted By
impossible_cc
Re: Group Money
It is not possible.
Variable cannot be equals to 1, equals to 2, equals to 16 and equals to 17 in the same time.
I think that you need this:
bool IsRoundBlah(int iRound)
{
return iRound...
Showing results 1 to 25 of 157
Page 1 of 7
1
2
3
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
21:09
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode