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

Showing results 1 to 25 of 383
Search took 0.01 seconds.
Search: Posts Made By: Spunky
Forum: Module Coding 04-12-2019, 16:00
Replies: 1
Views: 1,842
Posted By Spunky
Re: Upgrade MySQL Client for MySQL 8.0

I would love this. MySQL 8.0 is around 75% faster than 5.2 if I recall. Most of my work now involves MySQL in some way. Backwards compatibility would be amazing.
Forum: Scripting 10-02-2010, 10:28
Replies: 8
Views: 1,915
Posted By Spunky
Re: Giving weapons - crash? :/

Tried it before, doesn't work.
Forum: Scripting 10-01-2010, 19:21
Replies: 8
Views: 1,915
Posted By Spunky
Re: Giving weapons - crash? :/

I still can't figure this out. I've tried every method of spawning weapons I can think of.

I really really hate the ZPS team right now.
Forum: Scripting 09-28-2010, 22:51
Replies: 8
Views: 1,915
Posted By Spunky
Re: Giving weapons - crash? :/

No dice. Thanks though.

Any other ideas?
Forum: Scripting 09-28-2010, 13:59
Replies: 8
Views: 1,915
Posted By Spunky
Re: Giving weapons - crash? :/

Any insight into why it's crashing then? :/
Forum: Scripting 09-27-2010, 21:12
Replies: 8
Views: 1,915
Posted By Spunky
Giving weapons - crash? :/

So I'm trying to give a player the "arms" weapon in Zombie Panic: Source, but the server crashes.

// _Data is the client
FakeClientCommand(_Data, "panic")
FakeClientCommand(_Data, "dropweapon")...
Forum: Scripting 09-25-2010, 13:16
Replies: 6
Views: 1,586
Posted By Spunky
Re: Third-Party Mod User Messages

Where is hBitBuffer declared in that snippet?

Nevermind. x_x
Forum: Scripting 09-25-2010, 00:17
Replies: 6
Views: 1,586
Posted By Spunky
Re: Third-Party Mod User Messages

Thanks a lot, that's awesome. What about the bytes you send with them? Just trial and error on that?
Forum: Scripting 09-24-2010, 22:25
Replies: 6
Views: 1,586
Posted By Spunky
Third-Party Mod User Messages

Is there an easy and reliable way to find messages for third-party mods and the bytes you can send with them?
Forum: Scripting 09-04-2010, 18:09
Replies: 7
Views: 1,390
Posted By Spunky
Client index error

public Action:PlayerHurt(Handle:hEvent, const String:szName[], bool:bDontBroadcast)
{
new id = GetEventInt(hEvent, "userid")
new aid = GetEventInt(hEvent, "attacker")

if (1 <= id <=...
Forum: Scripting 09-03-2010, 23:48
Replies: 5
Views: 1,782
Posted By Spunky
Re: Help with SQL O_o

SQL accepts double quotations just fine. They're actually preferred in most cases. Selecting every column by name is tedious and not worth any shred of effort. My query does the same thing and is...
Forum: Scripting 09-03-2010, 14:24
Replies: 5
Views: 1,782
Posted By Spunky
Help with SQL O_o

public bool:OnClientConnect(id, String:szRejectMsg[], iMaxLen)
{
decl String:szAuth[36]
GetClientAuthString(id, szAuth, sizeof(szAuth))

decl String:szQuery[96]
FormatEx(szQuery,...
Forum: Scripting 08-23-2010, 00:21
Replies: 1
Views: 993
Posted By Spunky
Projectiles in CSS

What's the best way to fire a custom projectile in CSS? I'm still relatively new to SourceMod and have never done this. The only examples I can see are from TF2, which I obviously can't apply here.
Forum: Scripting Help 08-10-2010, 01:29
Replies: 7
Views: 1,984
Posted By Spunky
Re: Func_Breakable

Are those even tied to entities? Aren't they just brushes?
Forum: Scripting Help 08-07-2010, 14:32
Replies: 10
Views: 2,823
Posted By Spunky
Forum: Scripting Help 08-03-2010, 02:56
Replies: 13
Views: 3,050
Posted By Spunky
Re: name function with double name arg

client_cmd(id, "name ^"%s %s^"" , get_stat(sid), glob);You have to use escape sequences when using quotes within quotes.
Forum: Scripting Help 07-20-2010, 04:48
Replies: 18
Views: 3,059
Posted By Spunky
Re: Get the names of a Team in a String?

get_players() is inefficient to use.
Forum: Scripting Help 07-19-2010, 16:37
Replies: 7
Views: 2,111
Posted By Spunky
Re: Check for two entities

Yes.

static Float:fpOrigin[3]
entity_get_vector(iEnt, EV_VEC_origin, fpOrigin)

static Float:fpSkyOrigin[3]
fpSkyOrigin[0] = fpOrigin[0]
fpSkyOrigin[1] = fpOrigin[1]
fpSkyOrigin[2] =...
Forum: Scripting Help 07-19-2010, 15:58
Replies: 7
Views: 2,111
Posted By Spunky
Re: Check for two entities

If the base has a roof (as it should), you can do:

static Float:fpOrigin[3]
entity_get_vector(iEnt, EV_VEC_origin, fpOrigin)

while (point_contents(fpOrigin) == CONTENTS_EMPTY)
fpOrigin[2] +=...
Forum: Scripting Help 07-09-2010, 23:07
Replies: 13
Views: 3,247
Posted By Spunky
Forum: Scripting Help 07-09-2010, 21:35
Replies: 13
Views: 3,247
Posted By Spunky
Re: Getting a list of ALL admins, including non-present ones

This should display every admin on your server.

#include <amxmodx>

public plugin_init()
register_plugin("Admin Lookup", "1.0", "Spunky")

public plugin_cfg()
{
new szFilePath[64]
Forum: Scripting Help 07-09-2010, 06:43
Replies: 21
Views: 4,036
Posted By Spunky
Re: Checking if a bool is true for all Terrorists

No, that removes a flag even if a terrorist hasn't left the team. You'll get extremely inaccurate results.
Forum: Scripting Help 07-05-2010, 11:07
Replies: 7
Views: 2,117
Posted By Spunky
Re: anti_host_error

http://forums.alliedmods.net/showthread.php?t=55692
Forum: Scripting Help 06-29-2010, 23:30
Replies: 3
Views: 1,221
Posted By Spunky
Re: Invisibility

public client_PostThink(id)
{
if (!is_user_alive(id))
return PLUGIN_CONTINUE

else if (!g_bCloakEnabled[id])
return PLUGIN_CONTINUE

static Float:fpVelocity[3]
...
Forum: Scripting Help 06-29-2010, 01:10
Replies: 3
Views: 1,221
Posted By Spunky
Invisibility

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <tsfun>

new bool:g_bCloakEnabled[33]
new g_iLastRender[33]

public plugin_init()
{
Showing results 1 to 25 of 383

 
Forum Jump

All times are GMT -4. The time now is 08:35.


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