Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 162
Search took 0.01 seconds.
Search: Posts Made By: SpirT
Forum: Scripting 11-21-2020, 13:42
Replies: 0
Views: 262
Posted By SpirT
[SQL] Query is not executed

Hello.

Today I decided to develop my own admin system through a database with commands that can be used in-game.


#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "SpirT"
Forum: Plugins 10-31-2020, 17:03
Replies: 162
Views: 67,104
Posted By SpirT
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)

When I report someone with this it just mentions the channel with '@here'. If I do !testdiscord "calladmin" "This is the message that we want to sent" it sends the full message.

Any fix?
Forum: SourceBans / SourceBans++ 10-31-2020, 15:37
Replies: 0
Views: 497
Posted By SpirT
[NGINX] Setup config

Hey.

I am trying to setup sourcebans on my vps. I have nginx & php 7.4 installed.

My config has the following: (I'll install SSL later)

server {
listen 80;

server_name...
Forum: Scripting 10-03-2020, 09:26
Replies: 3
Views: 755
Posted By SpirT
Re: [CSGO]Is fake inventory possible?

That would be considering "cheating". Once you're giving items to players once they don't have it, like iventory changer. Server can't change stuff from client side.
Forum: Scripting 06-18-2020, 18:48
Replies: 2
Views: 513
Posted By SpirT
Re: Error with Zephyrus Store addon.

It would be nice to post the solution here so if people get the same problem they can find the answer here instead of creating a post...
Forum: Scripting 06-18-2020, 18:46
Replies: 3
Views: 590
Posted By SpirT
Re: [SM] Exception reported: Entity 1 (1) is invalid

Hey!

DisarmPlayer(client)
{
for(new i = 0; i < 5; i++)
{
new weapon = -1;
while((weapon = GetPlayerWeaponSlot(client, i)) != -1)
{
if(IsValidEntity(weapon))
Forum: Plugins 06-13-2020, 09:37
Replies: 6
Views: 935
Posted By SpirT
Re: [ANY] Custom Game Rounds

What some awesome ideas! Where do you get that stuff haha. Appreciate your attention.
Forum: Plugins 06-12-2020, 05:23
Replies: 6
Views: 935
Posted By SpirT
Re: [ANY] Custom Game Rounds

Hey! Thanks for your reply.

Wow, if I am not mistaken, 23 ideas are more than enough I think hehe :twisted:.

What did you mean about this? ("Weapons from Danger Zone if not supported") It's...
Forum: Plugins 06-11-2020, 15:21
Replies: 6
Views: 935
Posted By SpirT
Re: [ANY] Custom Game Rounds

New plugin update!

v1.1 is now available.
Forum: Source Servers (SRCDS) 06-10-2020, 18:04
Replies: 4
Views: 486
Posted By SpirT
Re: Server is shutting down

It turned off now. Here is the output of the console:

weapon_air_spread_scale - 1.0
weapon_max_before_cleanup - 0
weapon_recoil_scale - 2.0
weapon_reticle_knife_show - 1...
Forum: Scripting 06-10-2020, 16:58
Replies: 3
Views: 366
Posted By SpirT
Re: knife bug

I took this from AdvancedAdmin plugin and used it on my new plugin. Maybe this can help on your custom function:


void DisarmPlayer(int client)
{
for(int i = 0; i < 5; i++)
{
int weapon =...
Forum: Scripting 06-10-2020, 16:19
Replies: 3
Views: 366
Posted By SpirT
Re: knife bug

Hey! If I'm sure, slot 2 is for the pistol. Try using slot 3
Forum: Plugins 06-10-2020, 16:14
Replies: 6
Views: 935
Posted By SpirT
[ANY] Custom Game Rounds

WHAT DOES THE PLUGIN DO?

This plugin provides the possibility to create some custom gun game rounds :D!

Admins need access to the flag "j" for Chat Privilegies in order to use the rounds...
Forum: Source Servers (SRCDS) 06-10-2020, 15:11
Replies: 4
Views: 486
Posted By SpirT
Re: Server is shutting down

It does not print any error, it just shutdown itself
Forum: Source Servers (SRCDS) 06-10-2020, 13:55
Replies: 4
Views: 486
Posted By SpirT
Server is shutting down

Hey

My server is shutting down for no reason. Here is the last log:

L 06/10/2020 - 02:47:26: SourceMod error session started
L 06/10/2020 - 02:47:26: Info (map "de_dust2") (file...
Forum: Scripting 06-06-2020, 11:49
Replies: 6
Views: 653
Posted By SpirT
Re: error 001: expected token: "(", but found "{"

Hey! As I said before I am trying to change the chat tag of the DR API AFK MANAGER (v. 1.0.1). I am using SPEdit with the includes of the sourcemod version 1.10.0.6482.
Forum: Scripting 06-06-2020, 11:47
Replies: 4
Views: 1,139
Posted By SpirT
Re: KeyValues to menu writing

Hey! Yes, I still need help. Didn't figure out any fix for this. Do you have any solution?
Forum: Scripting 05-28-2020, 06:00
Replies: 6
Views: 653
Posted By SpirT
Re: error 001: expected token: "(", but found "{"

Btw, I am trying to compile DR API AFK Manager v. 1.0.1 because I want to change that chat TAG. When I compile if I use both ways, one gives error, other not, and the ones that compile does not do...
Forum: Scripting 05-27-2020, 15:22
Replies: 6
Views: 653
Posted By SpirT
error 001: expected token: "(", but found "{"

Hey

I have got the error on this:

view_as<float>{0.0,0.0,0.0};


Tried this but plugin does not work:

view_as<float>( { 0.0, 0.0, 0.0 } );
Forum: Scripting 05-27-2020, 07:00
Replies: 1
Views: 262
Posted By SpirT
Re: How can i make vote

Hey there! You can take a look to MenuAPI of sourcemod! Anyways I am going to leave here that example:

Simple Vote:

//OnPluginStart
RegConsoleCmd("sm_command", Command_Command);

public...
Forum: Scripting 05-26-2020, 09:47
Replies: 6
Views: 472
Posted By SpirT
Re: [ISSUE] Not storing all strings

Hey! Thanks for the reply. I changed the OnChatMessage action to yours. Still not replacing the badword either listing all badwords.

What changes need to be made?
Forum: Scripting 05-24-2020, 18:13
Replies: 6
Views: 472
Posted By SpirT
Re: [ISSUE] Not storing all strings

Hey, I changed my code to this:

#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "SpirT"
#define PLUGIN_VERSION "1.0"

#include <sourcemod>
Forum: Scripting 05-24-2020, 14:30
Replies: 6
Views: 472
Posted By SpirT
Re: [ISSUE] Not storing all strings

Thanks for the reply. I have done the changes on the code as changing sizeof(BadWord) and closing kv handle with delete kv.

I am using this cp...
Forum: Scripting 05-24-2020, 14:00
Replies: 6
Views: 472
Posted By SpirT
[ISSUE] Not storing all strings

Hey

This plugin is not storing everything from the config file and not replacing a chat message


#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "SpirT"
Forum: Scripting 05-24-2020, 12:46
Replies: 2
Views: 277
Posted By SpirT
Re: Equiping weapons and checking player iventory

Thanks for the reply! I will try that later.
Answering your question, doesn't SmLib has a similar functions or some functions that allow you to do that?
Showing results 1 to 25 of 162

 
Forum Jump

All times are GMT -4. The time now is 22:19.


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