Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 99
Search took 0.01 seconds.
Search: Posts Made By: fiction
Forum: Scripting 11-02-2017, 16:21
Replies: 9
Solved KeyValues
Views: 1,515
Posted By fiction
Re: KeyValues

Appreciate your response, I did play around with what you posted a little but KeyValues seems to lack a clear difference between a section and a key. I've decided to use the SMCParser class instead...
Forum: Scripting 11-01-2017, 15:12
Replies: 9
Solved KeyValues
Views: 1,515
Posted By fiction
Re: KeyValues

Is that what the API implies by saying "or NULL_STRING", you can get the current keys value without its name?
Forum: Scripting 11-01-2017, 13:47
Replies: 9
Solved KeyValues
Views: 1,515
Posted By fiction
Re: KeyValues

Hey, thanks for your response but it doesn't really solve my issue.

In your plugin you already know the name of the key, in that case it's "Current Money". For example let's say I want to make a...
Forum: Scripting 11-01-2017, 13:29
Replies: 9
Solved KeyValues
Views: 1,515
Posted By fiction
KeyValues

Hello AM, I'm hoping someone can inform me how to parse some KeyValues correctly.

Here is an example of what I need to parse:
"Root"
{
"Random Section 1"
{
"Random Key 1" "Random Value 1"...
Forum: General 10-11-2017, 08:26
Replies: 11
Views: 1,418
Posted By fiction
Re: PLease help

Make sure you have the default adminmenu.smx present.
Forum: General 10-11-2017, 07:52
Replies: 11
Views: 1,418
Posted By fiction
Re: PLease help

If that's the plugin I think you really need to read the thread, that plugin is unapproved for a reason.
https://i.imgur.com/5XbmrBW.png

Delete that plugin and use !admin > Server Commands >...
Forum: General 10-11-2017, 06:21
Replies: 11
Views: 1,418
Posted By fiction
Re: PLease help

/cfg/sourcemod/rtv.cfg

[...]

// When to change the map after a succesful RTV: 0 - Instant, 1 - RoundEnd, 2 - MapEnd
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"...
Forum: Trash 10-05-2017, 08:22
Replies: 5
Views: 1,279
Posted By fiction
Re: Problem with compling

You need all the third-party includes in your include folder.
hosties.inc
lastrequest.inc
emitsoundany.inc
smartjaildoors.inc
hosties.inc
franug_jb.inc
simon.inc
Forum: Plugin/Gameplay Ideas and Requests 09-26-2017, 17:45
Replies: 2
Views: 769
Posted By fiction
Re: !ghost plugin

Lookup the Redie plugin.
Forum: Plugins 09-24-2017, 16:33
Replies: 213
Views: 107,026
Posted By fiction
Re: [CSS/CS:GO] Influx Timer (2017/07/15)

? You do not need to enable sv_cheats to use sv_autobunnyhopping 1, just put it in your server.cfg.
Forum: Scripting 09-20-2017, 19:40
Replies: 8
Views: 1,445
Posted By fiction
Re: compile error

Quite a few more errors than that. That specific error is because of this line:
public test(Handle:menu, MenuAction:action, param1, param2, client)
That 5th paramter doesn't exit, it's just menu,...
Forum: Scripting 09-20-2017, 19:11
Replies: 13
Views: 2,364
Posted By fiction
Re: Selecting a random player

It shouldn't be MaxClients+1 though, just MaxClients https://github.com/alliedmodders/sourcemod/blob/237db0504c7a59e394828446af3e8ca3d53ef647/plugins/include/sdktools_tempents.inc#L186-L198
Forum: Scripting 09-20-2017, 18:36
Replies: 13
Views: 2,364
Posted By fiction
Re: Selecting a random player

You should post some more code around WasFirstZombie and explain what GetRandomPlayer is being used for.
Forum: Scripting 09-20-2017, 15:31
Replies: 10
Views: 1,860
Posted By fiction
Re: how create a lot of zombies?

It's the "new" Transitional Syntax: https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#New_Declarators
Forum: Scripting 09-20-2017, 14:54
Replies: 10
Views: 1,860
Posted By fiction
Re: how create a lot of zombies?

That won't work because the code inside is only ran if the condition is true.
for(int i; i < 6; i++)
{
//Code here will be run 6 times.
}
Forum: Scripting 09-20-2017, 14:20
Replies: 4
Views: 1,029
Posted By fiction
Re: Bracketing in a for loop?

I believe it's just preference, so you can use whichever looks better to you. The SourceMod contributing guidelines says to always use braces for block statements, so if you want to follow that...
Forum: Plugin/Gameplay Ideas and Requests 09-19-2017, 15:32
Replies: 13
Views: 2,732
Posted By fiction
Re: Looking for a pluggin - Auto slay bunnyhoppers.

Any time a player jumps they can no longer jump for sm_jump_blocked_ticks ticks. I recommend you set it to 100 as it is by default.
Forum: Plugins 09-17-2017, 16:33
Replies: 36
Views: 30,649
Posted By fiction
Re: TOGs Jump / Bhop Stats

You should update it to use an EngineVersion check instead of using the game folder, maybe that will solve his issue.
Forum: Scripting 09-16-2017, 08:02
Replies: 1
Views: 806
Posted By fiction
Re: [CS:GO] How to block jump sound?

sv_min_jump_landing_sound 999999
Forum: Scripting 09-15-2017, 10:55
Replies: 5
Views: 1,543
Posted By fiction
Re: Error with my store

else if(action == MenuAction_End)
{
CloseHandle(classhandle);
}
Forum: Scripting 09-15-2017, 10:05
Replies: 3
Views: 761
Posted By fiction
Re: I cant compile this file, help??

Try the up to date version https://github.com/0125/l4d-server/blob/master/sourcemod/plugins/source/CSM/scripting/l4dcsm_a.sp
Forum: Scripting 09-15-2017, 09:58
Replies: 10
Views: 2,344
Posted By fiction
Re: Bhop only for CT

That error is because you reverted a change that I put in my first response to you, you removed the "int" between public and VIP_OnVIPLoaded.
Forum: Scripting 09-14-2017, 15:09
Replies: 10
Views: 2,344
Posted By fiction
Re: Bhop only for CT

#include <sourcemod>
#include <sdktools>
#include <cstrike>
#include <vip_core>

#pragma semicolon 1
#pragma newdecls required

public int VIP_OnVIPLoaded()
{
Forum: Source Servers (SRCDS) 09-14-2017, 10:57
Replies: 2
Views: 929
Posted By fiction
Re: [HELP] removing exclamation from chat

Open addons/sourcemod/configs/core.cfg and change this:
/**
* String to use as the public chat trigger. Set an empty string to disable.
*/
"PublicChatTrigger" "!"

/**
* String to...
Forum: Scripting 09-14-2017, 03:44
Replies: 27
Views: 5,563
Posted By fiction
Re: NegateVector() broken?

Because c+p, I've updated my post. Thanks
Showing results 1 to 25 of 99

 
Forum Jump

All times are GMT -4. The time now is 06:27.


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