Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $32
Target: $400
8%
Page 1 of 3
1
2
3
>
Showing results 1 to 25 of 72
Search took
0.01
seconds.
Search:
Posts Made By:
Farbror Godis
Forum:
Scripting
08-19-2019, 09:34
Replies:
2
Hook buymenu out of buyzone
Views:
1,628
Posted By
Farbror Godis
Re: Hook buymenu out of buyzone
AddCommandListener(CmdListener_BuyMenu, "buymenu");
Then in the callback you can check if the client is in the buyzone or not using Indarello's example.
Forum:
Scripting
08-18-2019, 16:43
Replies:
6
[SQL] Error
Views:
2,117
Posted By
Farbror Godis
Re: [SQL] Error
I think it may be the ' symbols. As a side note, make it a habit to use Database.Format for queries in the future.
Forum:
Scripting
08-17-2019, 19:39
Replies:
5
Solved
GetConVar... every time its executed vs storing the Value
Views:
1,962
Posted By
Farbror Godis
Re: GetConVar... every time its executed vs storing the Value
As you said this is probably such a small difference that it is barely measurable.. But generally caching (that is, storing it in a variable) is faster, don't see why it would be any different in...
Forum:
Plugins
08-17-2019, 17:34
Replies:
12
[ANY] sm_curse v2.0.2 (2019-08-19)
Views:
13,130
Posted By
Farbror Godis
Re: [ANY] sm_curse v2.0.1 (2019-08-17)
v2.0.1
v2.0.2
Forum:
Plugins
08-13-2019, 11:08
Replies:
12
[ANY] sm_curse v2.0.2 (2019-08-19)
Views:
13,130
Posted By
Farbror Godis
Re: [ANY] Curse v2.0.0 (2019-08-13)
v2.0.0
Forum:
General
07-22-2019, 23:09
Replies:
1
Setting arm-models in CS:GO?
Views:
1,168
Posted By
Farbror Godis
Setting arm-models in CS:GO?
Since the addition of gloves to the game (I've been away for a while): Is changing the arm models to custom models allowed? Or will my GSLT token get banned?
Forum:
Scripting
11-07-2016, 17:26
Replies:
1
Enum madness? Structs? What?
Views:
655
Posted By
Farbror Godis
Enum madness? Structs? What?
* Compiler used was the latest stable 1.8 build.
I was messing around a bit and i tried using typedefs to create arbitrary types (i found later you can only create typenames for functions)
...
Forum:
Scripting
08-27-2016, 12:33
Replies:
10
Solved
A good way to store information
Views:
1,782
Posted By
Farbror Godis
Re: A good way to store information
Enum arrays?
Forum:
Scripting
08-18-2016, 05:49
Replies:
4
[REQ] Menu System
Views:
1,242
Posted By
Farbror Godis
Re: [REQ] Menu System
Or if you want to do it yourself, use SetEntityMoveType (https://sm.alliedmods.net/new-api/entity_prop_stocks/SetEntityMoveType) with MOVETYPE_NONE, create a timer, and when the timer has finished...
Forum:
Scripting
08-17-2016, 15:14
Replies:
2
[CS:GO] Basic Question About New Syntax -> Old Syntax
Views:
671
Posted By
Farbror Godis
Re: [CS:GO] Basic Question About New Syntax -> Old Syntax
?
BasicFunction()
{
int NumArray[2][5];
AddArray(NumArray[0], 5);
}
Forum:
Snippets and Tutorials
08-08-2016, 16:01
Replies:
12
[INC] Menu stocks
Views:
11,289
Posted By
Farbror Godis
Re: [INC] Menu stocks
The code in my first post had a few typos, but the code in my repo is fine so make sure you grab that one.
Forum:
Scripting
08-04-2016, 18:45
Replies:
2
Little problem with timers.
Views:
695
Posted By
Farbror Godis
Re: Little problem with timers.
Does it even compile? Your timer takes a client id (which by the way is very error-prone) but you don't pass anything. OnClientPostAdminCheck also has a client index parameter but that is missing in...
Forum:
Plugin/Gameplay Ideas and Requests
08-04-2016, 14:56
Replies:
7
[PAID IF NEEDED] Colored HSay or CSay Announcements
Views:
1,755
Posted By
Farbror Godis
Re: [PAID IF NEEDED] Colored HSay or CSay Announcements
Predefined colors like red or blue does not work, however hexadecimal values do work.
<font color='#ff0000'>%s %N</font>
Forum:
Snippets and Tutorials
08-03-2016, 13:35
Replies:
12
[INC] Menu stocks
Views:
11,289
Posted By
Farbror Godis
Re: [INC] Menu stocks
What about something like this? (not tested, but it compiles. Also, not sure what result retagging a typdef yields, but again, it compiles)
typedef SmartMenuHandler = function int(SmartMenu...
Forum:
Snippets and Tutorials
08-02-2016, 06:59
Replies:
24
[Tutorial] How to use Google™ to find what you're looking for in 5 simple steps!
Views:
16,667
Posted By
Farbror Godis
Re: [Tutorial] How to use Google™ to find what you're looking for in 5 simple steps!
That's actually really useful stuff right there, think it's time this thread became a little sticky.. :wink:
Forum:
Scripting
08-01-2016, 15:24
Replies:
13
[CSGO] Vip Plugin help!
Views:
3,840
Posted By
Farbror Godis
Re: [CSGO] Vip Plugin help!
You realise this thread is over a year old right?
Forum:
Scripting
07-25-2016, 12:56
Replies:
4
RegAdminCmd() => Error 100: function prototypes do not match
Views:
1,312
Posted By
Farbror Godis
Re: RegAdminCmd() => Error 100: function prototypes do not match
The second parameter of RegAdminCmd takes a ConCmd callback, and that is not at all what you have provided.
public DataBaseConfiguration(pluginsLoaded[], pluginsName[])
Should be:
...
Forum:
Scripting
07-21-2016, 15:01
Replies:
8
Problem with native from zp
Views:
1,776
Posted By
Farbror Godis
Re: Problem with native from zp
Looks like SourcePawn but cBasePlayer seems to be a pointer. (what's going on?).
Forum:
Trash
07-05-2016, 16:15
Replies:
2
[Stock] GetTheAnswerToTheUltimateQuestionOfLifeTheUni verseAndEverything
Views:
1,217
Posted By
Farbror Godis
[Stock] GetTheAnswerToTheUltimateQuestionOfLifeTheUni verseAndEverything
stock int GetTheAnswerToTheUltimateQuestionOfLifeTheUniverseAndEverything() {
return 42;
}
Forum:
Unapproved Plugins
06-29-2016, 16:50
Replies:
7
[CSGO] -`ღ´- Auto Respawn
Views:
5,656
Posted By
Farbror Godis
Re: [CSGO] -`ღ´- Auto Respawn
Haha mate i had a good laugh when i looked in the plugin section today :)
http://puu.sh/pKD78/5719f7d3c2.png
Forum:
Scripting
05-21-2016, 14:40
Replies:
13
Targets list in menu
Views:
2,632
Posted By
Farbror Godis
Re: Targets list in menu
There's actually a function that does it all for you that most people don't use; AddTargetsToMenu (https://sm.alliedmods.net/new-api/adminmenu/AddTargetsToMenu)
Forum:
Scripting
05-19-2016, 06:48
Replies:
14
Help with a code
Views:
1,772
Posted By
Farbror Godis
Re: Help with a code
... Really?
Forum:
Scripting
05-18-2016, 12:18
Replies:
14
Help with a code
Views:
1,772
Posted By
Farbror Godis
Re: Help with a code
There's a missing ")" on that line.
Forum:
Scripting
05-18-2016, 10:39
Replies:
14
Help with a code
Views:
1,772
Posted By
Farbror Godis
Re: Help with a code
The snippet in my reply is what you want.
Forum:
Scripting
05-18-2016, 10:31
Replies:
14
Help with a code
Views:
1,772
Posted By
Farbror Godis
Re: Help with a code
for(int i = 1; i <= MaxClients; i++) {
if(IsClientInGame(i) && IsPlayerAlive(i) && (GetClientTeam(i) == view_as<int>(TFTeam_Red)) {
TF2_RemoveAllWeapons(i);
}
}
The function takes a...
Showing results 1 to 25 of 72
Page 1 of 3
1
2
3
>
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
20:11
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode