Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 16
1
2
3
11
>
Last
»
Showing results 1 to 25 of 399
Search took
0.01
seconds.
Search:
Posts Made By:
xf117
Forum:
Scripting
02-12-2016, 02:12
Replies:
11
[CSGO] No kill in buyzone
Views:
2,746
Posted By
xf117
Re: [CSGO] No kill in buyzone
You can hurt someone if you are not in game.
And the order of execution matters.
Checking this doesn't make any sense since execution goes left to right.
// ...
if (bool:GetEntProp(victim,...
Forum:
Scripting
02-08-2016, 10:01
Replies:
5
Need help to update plugin for CSGO
Views:
1,112
Posted By
xf117
Re: Need help to update plugin for CSGO
You don't really need even PHP for this. Basic HTML will do. Most servers already have this in the form of fastdl server. I don't think there is the other way for cs:go tho.
Forum:
Scripting
02-03-2016, 08:22
Replies:
3
[HELP] CS:GO After-Kniferound-plugin
Views:
1,635
Posted By
xf117
Re: [HELP] CS:GO After-Kniferound-plugin
There is a CS_GetTeamScore function which takes CS_TEAM_T or CS_TEAM_CT as a param. There is also GetTeamScore function which probably does the same. The first one might return something like whole...
Forum:
Scripting
02-03-2016, 03:35
Replies:
2
[CSGO] Save weapon on respawn command
Views:
794
Posted By
xf117
Re: [CSGO] Save weapon on respawn command
GivePlayeritem expects a string while GetPlayerWeaponSlot returns the entity index. They won't work together.
You need to either switch GivePlayerItem to EquipPlayerWeapon which takes the entity...
Forum:
Scripting
02-01-2016, 09:59
Replies:
2
[CS:GO] Server crash if no menu item was selected
Views:
800
Posted By
xf117
Re: [CS:GO] Server crash if no menu item was selected
Is there a reason why you make every function as an Action?
Forum:
Scripting
02-01-2016, 02:14
Replies:
6
[CS:GO] Limit fps?
Views:
2,489
Posted By
xf117
Re: [CS:GO] Limit fps?
You would be surprised, but bhoping with low fps is actually much easier.
You can check on fps_max, but you cannot force it.
Forum:
Scripting
03-24-2015, 03:44
Replies:
12
Beginner plugin help!
Views:
1,536
Posted By
xf117
Re: Beginner plugin help!
And using new syntax which is same or less in functionality, not fully done and a subject of change is not wasting the time?
Forum:
Scripting
03-21-2015, 10:27
Replies:
5
[CSS] Bans log.
Views:
1,353
Posted By
xf117
Re: [CSS] Bans log.
Maybe it cannot create the new file? Also first "/" in the buildpath is not needed.
Are you getting any errors in the log?
Forum:
Scripting
03-19-2015, 08:43
Replies:
15
Prevent map from using say
Views:
2,364
Posted By
xf117
Re: Prevent map from using say
I've already stated the constructive argument. If you can't figure out the proper way to do it by combining several entities in Source way (triggers, events and filters), you can't produce a good...
Forum:
Scripting
03-19-2015, 06:33
Replies:
15
Prevent map from using say
Views:
2,364
Posted By
xf117
Re: Prevent map from using say
point_servercommand should be removed from all maps by default. If map absolutely requires this entity, it is probably sucks anyway since mapmaker failed to do it correctly.
Forum:
Scripting
03-17-2015, 16:02
Replies:
5
SQL_TQuery help
Views:
919
Posted By
xf117
Re: SQL_TQuery help
if second argument is just an int, you can pass them both as one interger. Considering each of them fit in int16
Forum:
Scripting
03-16-2015, 12:24
Replies:
6
Making a plugin to store Stripper configs in db
Views:
853
Posted By
xf117
Re: Making a plugin to store Stripper configs in db
All of it is possible. You can use db as permanent storage and configs as local storage.
On server start load a start map config (if you gonna use threaded sql, you will probably have to restart the...
Forum:
Scripting
03-16-2015, 09:07
Replies:
6
Player push button nr. 1.
Views:
1,680
Posted By
xf117
Re: Player push button nr. 1.
You can use OnPlayerRunCmd, it called each time the client presses a button
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon) {
if (buttons &...
Forum:
Scripting
03-15-2015, 04:13
Replies:
4
[SOLVED] How to run an Action code from another Action code?
Views:
674
Posted By
xf117
Re: How to run an Action code from another Action code?
You can format the string before you use it.
decl String:command[64];
Format(command, sizeof(command), "sm_cmdgsplay %s", randomWord);
FakeClientCommand(client, command);
Forum:
Scripting
03-14-2015, 09:55
Replies:
14
Jail plugin help
Views:
1,403
Posted By
xf117
Re: Jail plugin help
You never check IsClientInGame. If you call GetPlayerWeaponSlot on non existing client, it will invoke an error and your cycle will break.
Also, never ever use ServerCommand with player's name in...
Forum:
Scripting
03-14-2015, 06:33
Replies:
14
Jail plugin help
Views:
1,403
Posted By
xf117
Re: Jail plugin help
Well, there are several cases how these weapons can be spawned on a map. And multiple ways to remove these. If they are spawning on the ground each round you can use
#include <sdktools>
new...
Forum:
Scripting
03-14-2015, 05:44
Replies:
14
Jail plugin help
Views:
1,403
Posted By
xf117
Re: Jail plugin help
%s expects a string and puts it in it's own place.
%N expects a client id and puts client's name in it's own place.
Your %s is not an error. With %N it's just looks a little bit cleaner.
Forum:
Scripting
03-14-2015, 04:53
Replies:
14
Jail plugin help
Views:
1,403
Posted By
xf117
Re: Jail plugin help
Something like that
new gStraznik;
public OnPluginStart() {
// Your code
HookEvent("player_death", OnPlayerDeath);
}
Forum:
Scripting
03-13-2015, 10:00
Replies:
7
TE_SetupBeamFollow - appears in front of face?
Views:
1,953
Posted By
xf117
Re: TE_SetupBeamFollow - appears in front of face?
You can attach it to the client's weapon.
Also you can create an entity and position it anywhere you want relatively to player. Then mark the player as parent for that entity(this will force...
Forum:
Scripting
03-10-2015, 12:30
Replies:
51
Plugin Protect.
Views:
8,585
Posted By
xf117
Re: Plugin Protect.
I don't have any problems with license. Copyright law does work here... sometimes.
I'm just saying GPL and LGPL licenses are not officially acknowledged here and they hold no weight in court.
Forum:
Scripting
03-10-2015, 04:57
Replies:
51
Plugin Protect.
Views:
8,585
Posted By
xf117
Re: Plugin Protect.
Some countries doesn't even acknowledge open source licensed products. In our laws there is no such thing as free open source license and it is not allowed to use such products in government sector...
Forum:
Scripting
03-10-2015, 04:46
Replies:
8
[ CS:GO ] Using the player_connect event
Views:
5,530
Posted By
xf117
Re: [ CS:GO ] Using the player_connect event
You could just use OnClientPostAdminCheck / OnClientAuth to save the steam id of the person who entered.
Using curl or socket lib is probably the better idea.
Forum:
Scripting
03-10-2015, 04:38
Replies:
16
What I did wrong?
Views:
2,050
Posted By
xf117
Re: What I did wrong?
If this wasn't fixed, In cs:go you have to do some extra work with javascript to make the motd to appear.
Forum:
Scripting
03-08-2015, 15:36
Replies:
6
CSGO remove weapon not working
Views:
2,064
Posted By
xf117
Re: CSGO remove weapon not working
For CS:Go the most stable way to remove weapon is to force drop it and then AcceptEntityInput kill.
Tested it on real loaded server with constant weapon switch/remove spam. Only this way worked...
Forum:
Scripting
03-07-2015, 05:56
Replies:
3
CSGO: unregistering console commands
Views:
1,329
Posted By
xf117
Re: CSGO: unregistering console commands
Do they have to be the legit console commands?
You can hook chat (https://sm.alliedmods.net/new-api/console/OnClientSayCommand) and console commands...
Showing results 1 to 25 of 399
Page 1 of 16
1
2
3
11
>
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
08:11
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode