Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $7
Target: $400
1%
Page 1 of 20
1
2
3
11
>
Last
»
Showing results 1 to 25 of 500
Search took
0.03
seconds.
Search:
Posts Made By:
Bugsy
Forum:
Scripting Help
03-17-2024, 14:46
Replies:
6
Open menu only once per round
Views:
1,761
Posted By
Bugsy
Re: Open menu only once per round
Show your full code, and put your code between php tags. [ php ] [/ php ] (without spaces)
Forum:
Suggestions / Requests
03-16-2024, 20:38
Replies:
7
mysql
Views:
275
Posted By
Bugsy
Re: mysql
Ok, you will need to provide more info if you want someone to do it for you, ideally your entire plugin. We will need to know the specific fields that are needed in the db, and what type of...
Forum:
Suggestions / Requests
03-16-2024, 19:49
Replies:
7
mysql
Views:
275
Posted By
Bugsy
Re: mysql
To answer your question, look for topics that involve the sqlx module (just search for sqlx), and you will find examples on how to use it. Note that SQL is not as simple as nvault, as nvault does all...
Forum:
Suggestions / Requests
03-16-2024, 14:34
Replies:
7
mysql
Views:
275
Posted By
Bugsy
Re: mysql
Moved to Suggestions/Requests
Forum:
Suggestions / Requests
03-14-2024, 06:25
Replies:
18
Auto Name
Views:
663
Posted By
Bugsy
Re: Auto Name
But yours will constantly get spammed, mine won’t. Add logs within both codes to see. The extra code is to make it only fire for a name change, nothing else.
Forum:
Suggestions / Requests
03-13-2024, 16:28
Replies:
18
Auto Name
Views:
663
Posted By
Bugsy
Re: Auto Name
Not sure what you mean by your second request.
#include <amxmodx>
#include <fakemeta>
new const Version[] = "0.2";
#define MAX_PLAYERS 32
Forum:
Scripting Help
03-09-2024, 23:27
Replies:
3
Problem with armor calculation Ham_TakeDamage
Views:
217
Posted By
Bugsy
Re: Problem with armor calculation Ham_TakeDamage
If you're looking for the true damage (loss in HP) use pev( id , pev_dmg_take ), after the damage was issued -- takedamage post will be fine. The damage value passed through Ham_TakeDamage is total...
Forum:
Scripting Help
03-09-2024, 16:58
Replies:
5
Top 5 values
Views:
254
Posted By
Bugsy
Re: Top 5 values
#include <amxmodx>
enum _:DataLayout
{
PlayerID,
XPVal
}
new yourData[][ DataLayout] =
{
Forum:
Suggestions / Requests
03-04-2024, 20:26
Replies:
2
Solved
[REQ] CT only - random weap
Views:
172
Posted By
Bugsy
Re: [REQ] CT only - random weap
Just change
get_players(players, num_of_players , "h" )
to
get_players(players, num_of_players , "eh" , "CT" )
Forum:
General
03-03-2024, 16:29
Replies:
10
I'm new to scripting, where do I start?
Views:
515
Posted By
Bugsy
Re: I'm new to scripting, where do I start?
Someone who has never scripted shouldn't jump into making a mod. Start with basic stuff, like maybe earning extra money for making a kill, sound when headshot is made, etc. Once you understand the...
Forum:
General
03-02-2024, 22:20
Replies:
10
I'm new to scripting, where do I start?
Views:
515
Posted By
Bugsy
Re: I'm new to scripting, where do I start?
Yup, I love it. No reason for me to change, it does everything I need. I am so used to it that I do not want to transition to something else and need to re-learn a UI when AMX-X Studio does...
Forum:
General
03-02-2024, 19:57
Replies:
10
I'm new to scripting, where do I start?
Views:
515
Posted By
Bugsy
Re: I'm new to scripting, where do I start?
Step 1 is to learn the syntax of the Pawn language, you cannot begin exploring what modules do (hamsandwich, fakemeta, cstrike) or begin doing anything useful until you understand how code at the...
Forum:
Suggestions / Requests
02-29-2024, 17:50
Replies:
4
Solved
[REQUEST][Half-Life] Severian's Mod Run time error 10: native error (native"set_pev")
Views:
217
Posted By
Bugsy
Re: [REQUEST][HL] Severian's Mod Run time error 10: native error (native "set_pev")
Try
public TripMine_Beam(tripmine)
{
if( !pev_valid(tripmine))
return FMRES_IGNORED
if(!get_pcvar_num(g_pcvar_tripmine_style))
return FMRES_IGNORED
Forum:
Suggestions / Requests
02-26-2024, 16:27
Replies:
15
Auto Restart /top15 for month
Views:
745
Posted By
Bugsy
Re: Auto Restart /top15 for month
Did the plugin that mlibre posted above work?
Forum:
Scripting Help
02-24-2024, 22:14
Replies:
3
Rendering Invisible
Views:
312
Posted By
Bugsy
Re: Rendering Invisible
That should work. I used the same in my aimbot detection plugin to make a bot invisible. Though, I had the last parameter at 0.
Forum:
Suggestions / Requests
02-24-2024, 00:54
Replies:
15
Auto Restart /top15 for month
Views:
745
Posted By
Bugsy
Re: Auto Restart /top15 for month
Yeah, I know there was a time component, I was referring only to the method of getting stats to reset. But you can disregard, I didn't notice you were doing that with the below code. I only took a...
Forum:
Suggestions / Requests
02-23-2024, 13:39
Replies:
15
Auto Restart /top15 for month
Views:
745
Posted By
Bugsy
Re: Auto Restart /top15 for month
Why not just execute "csstats_reset 1" ?
Forum:
Suggestions / Requests
02-19-2024, 17:19
Replies:
5
Bounty Hunter
Views:
283
Posted By
Bugsy
Re: Bounty Hunter
It was coded using a chat command, not console, which is probably why it did not work for you. The above code was updated to use console instead of chat.
Forum:
Suggestions / Requests
02-18-2024, 14:24
Replies:
5
Bounty Hunter
Views:
283
Posted By
Bugsy
Re: Bounty Hunter
Hardly tested and the logging piece needs to be added:
CVars:
bh_adminflags - Admin flag(s) needed to start a bounty
bh_awardmoney - Default award money if no value is specified when bounty is...
Forum:
Scripting Help
02-17-2024, 18:21
Replies:
14
Solved
Precise calculation between 2 dates and times in UnixTimestamp
Views:
1,671
Posted By
Bugsy
Re: Precise calculation between 2 dates and times in UnixTimestamp
That’s just an example Unix/epoch timestamp, I assume you know what they are/how they work. Any date/time post 1/1/1970 can be converted to an integer value, down to the second. This is the type of...
Forum:
Scripting Help
02-09-2024, 21:31
Replies:
9
help with using sqlx
Views:
361
Posted By
Bugsy
Re: help with using sqlx
It would be easiest to replace
SELECT * FROM players WHERE steam_id = '%s';
with
SELECT LastName FROM players WHERE steam_id = '%s';
I imagine that you do not have a ridiculous number of...
Forum:
Scripting Help
02-09-2024, 18:59
Replies:
9
help with using sqlx
Views:
361
Posted By
Bugsy
Re: help with using sqlx
So you need to query for the SteamID and LastName and if no record exists, insert both fields as a new record?
Forum:
Scripting Help
02-09-2024, 18:03
Replies:
9
help with using sqlx
Views:
361
Posted By
Bugsy
Re: help with using sqlx
Above code is updated.. authorized should be used opposed to putinserver
Forum:
Scripting Help
02-09-2024, 17:18
Replies:
9
help with using sqlx
Views:
361
Posted By
Bugsy
Re: help with using sqlx
Not tested
#include <amxmodx>
#include <sqlx>
new Handle:g_SQLTuple;
new g_szBuffer[ 256 ];
Forum:
Scripting Help
02-04-2024, 10:42
Replies:
1
Bomb display on radar
Views:
253
Posted By
Bugsy
Re: Bomb display on radar
Try using the BombDrop event
https://wiki.alliedmods.net/Half-life_1_game_events#BombDrop
Showing results 1 to 25 of 500
Page 1 of 20
1
2
3
11
>
Last
»
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
10:02
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode