Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 155
Search took 0.01 seconds.
Search: Posts Made By: Godis
Forum: Scripting 02-19-2016, 16:25
Replies: 9
Views: 1,837
Posted By Godis
Re: Variable declaration: "new bool:myvar", "bool myvar", or "decl bool:myvar"?

Before SourceMod 1.7 there was only

new bool:variable;
decl bool:variable;

But since it's release, you can now do

bool variable;

The reason for this is the developers want SourcePawn to...
Forum: Plugin/Gameplay Ideas and Requests 02-03-2016, 13:37
Replies: 3
Views: 877
Posted By Godis
Re: Edit a Pluign

You provided a ".smx" file, which is a compiled binary, i.e. cannot be edited. What you're looking for is the ".sp" file.
Forum: Unapproved Plugins 01-29-2016, 17:34
Replies: 160
Views: 134,891
Posted By Godis
Re: [CS:GO] Custom Knife Models v2.3.1

When they say "custom models", are they referring to weapon models or just any models? I.e. player models?
Forum: Scripting 01-27-2016, 12:42
Replies: 3
Views: 807
Posted By Godis
Re: What difference in ConCmd return value?

From the wiki:



Most often you will use Plugin_Continue and Plugin_Handled. Plugin_Stop is used for things like stopping a repeating timer, etc.
Forum: Scripting 01-27-2016, 12:15
Replies: 921
Views: 317,034
Posted By Godis
Re: New API and Syntax

Actually, this is very much possible:


void TestExample(bool mode)
{
char str[32];

if(mode)
{
str = GetString1();
Forum: Plugin/Gameplay Ideas and Requests 01-24-2016, 13:52
Replies: 0
Views: 500
Posted By Godis
[JailBreak] Looking for developers

Hello. I am almost ready to release my newest plugin, thing is it depends on other plugins, modules, to be of use. I am looking for anyone who is interested in contributing, and i will happily share...
Forum: Plugin/Gameplay Ideas and Requests 01-24-2016, 13:33
Replies: 10
Views: 1,375
Posted By Godis
Forum: Plugin/Gameplay Ideas and Requests 01-22-2016, 17:06
Replies: 10
Views: 1,375
Posted By Godis
Re: Any Ideas of plugins for the begginer ?

https://wiki.alliedmods.net/Category:SourceMod_Scripting
Forum: Scripting 01-21-2016, 15:25
Replies: 4
Views: 1,058
Posted By Godis
Re: List of strings in KeyValues

I'm sorry if i stray away from the original question, but in your specific case, i would do something like this.

File file = OpenFile("path_to_file", "r"); // Open "path_to_file" for reading....
Forum: Plugin/Gameplay Ideas and Requests 01-20-2016, 09:43
Replies: 11
Views: 4,171
Posted By Godis
Re: (CSGO) Help with blocking "firstperson" console command

You cannot alter the flags of client-side convars.
Forum: Plugin/Gameplay Ideas and Requests 01-18-2016, 11:54
Replies: 4
Views: 948
Posted By Godis
Re: [Request] Eject CD for Sourcemod

Even if such a thing is possible, it is not allowed on here (slowhacking, etc). Not only is it a d*** move, but it could also damage the disc tray if for example it is physically prevented from being...
Forum: Scripting 01-13-2016, 17:37
Replies: 10
Views: 9,709
Posted By Godis
Re: [CS:GO] Replacing Gloves

Short answer: I guess i've just picked many of them up scavenging the forums ;)

Long answer:
Forum: Scripting 01-13-2016, 17:34
Replies: 10
Views: 9,709
Posted By Godis
Re: [CS:GO] Replacing Gloves

SetEntPropString(client, Prop_Send, "m_szArmsModel", "path_to_arms_model_mdl_file");

Also, it only seems to work when set on the player_spawn event.
Forum: General 01-10-2016, 15:53
Replies: 5
Views: 1,091
Posted By Godis
Re: CSGO bhop tiles goes down problem

The thread name is [CSS/CSGO] MultiPlayer Bunny Hops.
Forum: Scripting 01-09-2016, 12:00
Replies: 2
Views: 490
Posted By Godis
Re: [help] forward`s problem

Forwards can be created in OnPluginStart, and i actually think they should (only natives are registered in AskPluginLoad2). And also, are you actually starting your forward somewhere in your first...
Forum: Scripting 01-09-2016, 11:29
Replies: 5
Views: 1,069
Posted By Godis
Re: Give player access to a command by steamid

public void OnPluginStart()
{
RegConsoleCmd("sm_cmd", Cmd_Command);
}

public Action Cmd_Command(int client, int args)
{
char auth[32];
GetClientAuthId(client, AuthId_Steam2, auth,...
Forum: Scripting 01-09-2016, 10:10
Replies: 5
Views: 1,069
Posted By Godis
Re: Give player access to a command by steamid

Do you want many users to be able to use the command by steamid or just one?
Forum: Scripting 01-04-2016, 20:52
Replies: 4
Views: 728
Posted By Godis
Re: Allowed to edit plugins?

You are allowed to do whatever you want with it, as long as you don't claim it as your own plugin.
Forum: Scripting 01-04-2016, 11:52
Replies: 6
Views: 1,575
Posted By Godis
Re: empty statement: Question about SPACE char

You really should show us more than this.

I'm not quite sure i understand, are you trying to check a specific position in your char array (string, kinda;) for a blank space? I so, use IsCharAlpha...
Forum: General 01-02-2016, 09:18
Replies: 5
Views: 980
Posted By Godis
Re: CS:GO new style menus

Ok so i just thought about this a little. Y̶o̶u̶ ̶c̶o̶u̶l̶d̶ ̶o̶p̶e̶n̶ ̶"̶r̶a̶d̶i̶o̶1̶"̶ ̶o̶n̶ ̶t̶h̶e̶ ̶c̶l̶i̶e̶n̶t̶ ̶u̶s̶i̶n̶g̶ ̶F̶a̶k̶e̶C̶l̶i̶e̶n̶t̶C̶o̶m̶m̶a̶n̶d̶, then hook "followme", change the...
Forum: Plugins 01-02-2016, 06:57
Replies: 11
Views: 12,234
Posted By Godis
Re: [CS:GO] Carry C4 (Be the C4)

This is perfect! Now my server will be suicide-bomb mayhem :shock:
Forum: Scripting 01-01-2016, 06:53
Replies: 1
Views: 550
Posted By Godis
Re: getting dependent plugins to add info to a menu in core plugin?

EDIT: After reading your question again, i'm not so sure this is what you wanted, i'm sorry if that's the case.

This is how i do it, i'm not sure if i should be posting it here or in the...
Forum: Scripting 12-21-2015, 09:19
Replies: 3
Views: 1,465
Posted By Godis
Re: Static property in methodmap

Okay so what i want is not FooBar.Get()/FooBar.Set(int value), i want to have multiple values i can retrieve/set with FooBar.Value = 1/FooBar.Value, just like ConVar.IntValue works. But after trying...
Forum: Scripting 12-19-2015, 10:40
Replies: 3
Views: 1,465
Posted By Godis
Static property in methodmap

Hello. I've been using static methods for my natives instead of normal functions, sort of like namespaces in other languages. I do know this is not how methodmaps are supposed to be used but it makes...
Forum: Plugin/Gameplay Ideas and Requests 12-13-2015, 15:48
Replies: 8
Views: 1,625
Posted By Godis
Showing results 1 to 25 of 155

 
Forum Jump

All times are GMT -4. The time now is 00:07.


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