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...
Showing results 1 to 21 of 21
Search took
0.00
seconds.
Search:
Posts Made By:
McSnaggit
Forum:
General
05-30-2023, 03:02
Replies:
2
Solved
Mysql Database SSL insecure connection
Views:
887
Posted By
McSnaggit
Re: Mysql Database SSL insecure connection
Thanks for replying Asherkin! I'll find another solution.
Forum:
General
05-26-2023, 06:25
Replies:
2
Solved
Mysql Database SSL insecure connection
Views:
887
Posted By
McSnaggit
Mysql Database SSL insecure connection
Hi all,
I have an issue with connection to my MySQL database. I'm hosting it on Planetscale. I've configured everything in databases.cfg and set a new database handle.
The problem is that I...
Forum:
Scripting
01-29-2020, 10:48
Replies:
4
(CSGO) Level down hook armsrace
Views:
1,199
Posted By
McSnaggit
Re: (CSGO) Level down hook armsrace
I am using "int currentAttackerLevel = GetEntProp(GetPlayerResourceEntity(), Prop_Send, "m_iGunGameLevel", _, attackerId);" for getting the current level of the player. So I can indeed see the...
Forum:
Scripting
01-29-2020, 05:32
Replies:
4
(CSGO) Level down hook armsrace
Views:
1,199
Posted By
McSnaggit
Re: (CSGO) Level down hook armsrace
Thanks for your reply.
I know that's a solution, and I am already using that. But I should also be checking for suicide and death by world and trigger hurt.
The thing is, that it requires me to...
Forum:
Scripting
01-29-2020, 04:04
Replies:
4
(CSGO) Level down hook armsrace
Views:
1,199
Posted By
McSnaggit
(CSGO) Level down hook armsrace
Hi all,
I am still in progress of developing a statistics plugin for my armsrace server (CSGO). I now also log when a player goes level up. This is done with the "ggprogressive_player_levelup"...
Forum:
Scripting
04-16-2019, 08:31
Replies:
12
Solved
Knife detection
Views:
3,680
Posted By
McSnaggit
Re: Knife detection
I have found the StrContains function that can do the trick too. It's like eyal282's solution but a little different.
I use it like so:
if(StrContains(weapon, "knife", false) > -1){
//Weapon...
Forum:
Scripting
03-29-2019, 05:56
Replies:
12
Solved
Knife detection
Views:
3,680
Posted By
McSnaggit
Re: Knife detection
Had that problem too. Edit the thread in advanced mode. Next to title select solved in the dropdown.
Forum:
Scripting
03-26-2019, 08:47
Replies:
11
Solved
Enum or array inside query callback
Views:
2,983
Posted By
McSnaggit
Re: Enum or array inside query callback
So the above code is OK? Or should I send it to the callback and after sending in the same function close it again?
So like this:
public void SQL_Insert_Death(Database db, DBResultSet...
Forum:
Scripting
03-26-2019, 03:41
Replies:
11
Solved
Enum or array inside query callback
Views:
2,983
Posted By
McSnaggit
Re: Enum or array inside query callback
Great!
One question about the datapacks. When I want to send the datapack through to a second callback. Can I use it again without deleting it, or do I need to delete it first and create it again?...
Forum:
Scripting
03-25-2019, 04:29
Replies:
11
Solved
Enum or array inside query callback
Views:
2,983
Posted By
McSnaggit
Re: Enum or array inside query callback
Wow, thanks guys. I knew there was something that I missed. I'm still learning sourcepawn as I am used to javascript.
I'm going to try this asap.
About the transitional syntax. I have read...
Forum:
Scripting
03-24-2019, 12:12
Replies:
11
Solved
Enum or array inside query callback
Views:
2,983
Posted By
McSnaggit
Enum or array inside query callback
Hi all,
I'm having trouble with sending parameters in my threaded query callback. The thing is that I need more than 1 variable to pass through to the callback.
Background Information
When a...
Forum:
Scripting
03-24-2019, 11:54
Replies:
14
Solved
Client index vs user id vs real player index
Views:
5,931
Posted By
McSnaggit
Re: Client index vs user id vs real player index
@CliptonHeist I use an AI value because I don't think foreign keys kan be characters, like the steamID2. I do use the steamId to verify if the user exists but I use the id of the table as a foreign...
Forum:
Scripting
03-22-2019, 05:23
Replies:
14
Solved
Client index vs user id vs real player index
Views:
5,931
Posted By
McSnaggit
Re: Client index vs user id vs real player index
I might not have been clear enough about the user ids (all these different terms right).
Database
In my database when I create a new player with a steamId, that player gets an autoincremented...
Forum:
Scripting
03-21-2019, 09:33
Replies:
14
Solved
Client index vs user id vs real player index
Views:
5,931
Posted By
McSnaggit
Re: Client index vs user id vs real player index
Thank you all for replying!
@Mitchell, thanks for clarifying the different ids. I had no idea that 1 and 3 are the same. That explains a lot.
@Dragokas, that sounds logical. The "problem" is...
Forum:
Scripting
03-20-2019, 10:03
Replies:
14
Solved
Client index vs user id vs real player index
Views:
5,931
Posted By
McSnaggit
Re: Client index vs user id vs real player index
I do that too. But when inserting a new event like a kill, I need the user id in the database. To fasten things, I can then use the array on the player id to find out the database id.
So if player...
Forum:
Scripting
03-20-2019, 09:12
Replies:
14
Solved
Client index vs user id vs real player index
Views:
5,931
Posted By
McSnaggit
Client index vs user id vs real player index
Hi all,
I'm busy with a plugin for armsrace that saves stats to the database. Every time a user connects I want to add him to the database if he doesn't exist. After that, or if he already...
Forum:
Scripting
02-13-2019, 07:37
Replies:
9
Adt Arrays
Views:
4,005
Posted By
McSnaggit
Re: Adt Arrays
Thank you all for responding!
I have looked a lot at different plugins, and it might be that I just don't understand the workings (still learning a lot), but I cannot seem to find a plugin that...
Forum:
Scripting
02-13-2019, 03:24
Replies:
9
Adt Arrays
Views:
4,005
Posted By
McSnaggit
Re: Adt Arrays
I'm not sure if I'm allowed to reply to an old thread, but this has certainly something to do with the subject. What if I wanted it the other way around. I would like to create an array of strings...
Forum:
Scripting
02-12-2019, 14:55
Replies:
2
Saving data in multidimensional array/object (CSGO)
Views:
1,940
Posted By
McSnaggit
Re: Saving data in multidimensional array/object (CSGO)
Thank you for replying so quickly.
About storing the client stats:
I was thinking about only saving that data if the client played the entire match (we always play with friends only). Therefore I...
Forum:
Scripting
02-12-2019, 10:31
Replies:
2
Saving data in multidimensional array/object (CSGO)
Views:
1,940
Posted By
McSnaggit
Saving data in multidimensional array/object (CSGO)
Hi,
I'm new here and have been searching for a good solution for my CSGO plugin for a while now and haven't found it yet. I have some experience with javascript and can understand a bit of the...
Forum:
Scripting
02-12-2019, 10:16
Replies:
1
Knife kill sound plugin
Views:
1,535
Posted By
McSnaggit
Re: Knife kill sound plugin
I'm just starting with writing my own plugin so I'm not sure if this is of any help. Shouldn't you put brackets around the StrEqual? Like this:
if ((StrEqual(weapon, "knife")) ||...
Showing results 1 to 21 of 21
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
18:56
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode