Raised This Month: $319 Target: $400
 79%   Almost there!

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Bugsy
Forum: Suggestions / Requests 10-24-2021, 23:01
Replies: 10
Views: 842
Posted By Bugsy
Re: Doesn't SQL_ReadResult support UTF8?

Show the code and output you are getting.
Forum: Scripting Help 10-24-2021, 10:46
Replies: 2
Views: 135
Posted By Bugsy
Re: Data transfer from vault. to mysql

You will need to use nVault Utility to extract all values from your vault. As HamletEagle suggested, for each nVault record, you would call an INSERT SQL statement to add it to your table.
Forum: Scripting Help 10-22-2021, 00:27
Replies: 3
Views: 264
Posted By Bugsy
Re: Stock vs. Private vs. Public

In short, you should only use stock in include files. Use public when the function needs to be used by AMX-X in a callback, set_task(), etc. If the function is used only locally, directly by code in...
Forum: Scripting Help 10-21-2021, 18:13
Replies: 4
Views: 306
Posted By Bugsy
Re: Detecting walk/run [SHIFT]

This has been discussed a few times in the past. The below thread/code will tell you if a player is walking or running, but only when moving, which to me makes sense because who cares if a player is...
Forum: Suggestions / Requests 10-20-2021, 18:25
Replies: 9
Views: 489
Posted By Bugsy
Re: Vault to store multiple data of a unit

Why do you need to hash/encrypt player data, are you storing credit cards and social security numbers?? Just use plain text and store using SQL or nVault.
Forum: Scripting Help 10-19-2021, 23:36
Replies: 2
Views: 221
Posted By Bugsy
Re: Question about order

You need to call SQL_NextRow( Query ) somewhere after SQL_ReadResult()
Forum: Suggestions / Requests 10-19-2021, 08:22
Replies: 9
Views: 489
Posted By Bugsy
Re: Vault to store multiple data of a unit

What is the maximum length of a hash?

You could have the plugin use a separate text or binary file for each player:
STEAM_0:0:12345.dat
STEAM_0:0:45678.dat
STEAM_0:0:11111.dat
Forum: Suggestions / Requests 10-18-2021, 22:11
Replies: 9
Views: 489
Posted By Bugsy
Re: Vault to store multiple data of a unit

I'm pretty sure nVault has enough storage capacity to any type of player data. Can you provide a realistic set of data attributes that you do not think there is room for?
Forum: Suggestions / Requests 10-18-2021, 18:59
Replies: 9
Views: 489
Posted By Bugsy
Forum: Scripting Help 10-18-2021, 16:28
Replies: 7
Views: 346
Posted By Bugsy
Re: Whats Wrong I had Done :(

Your ||'s should be &&'s since if your attacker is connected, no further conditions are being checked. You want all to be true to advance to the next code block.
Forum: Suggestions / Requests 10-15-2021, 23:22
Replies: 2
Views: 421
Posted By Bugsy
Re: [REQUEST] - Last player

Not tested

#include <amxmodx>
#include <fun>
#include <cstrike>
#include <hamsandwich>

new const Version[] = "0.1";

enum LastStuff
Forum: Scripting Help 10-14-2021, 23:47
Replies: 5
Views: 348
Posted By Bugsy
Re: Generate a Random 6 Digit Random ID and Attach on SQL

CREATE TABLE IF NOT EXISTS `tblPlayers` (`ID` INTEGER PRIMARY KEY AUTOINCREMENT , [the rest of your fields] );
Forum: Scripting Help 10-14-2021, 11:38
Replies: 5
Views: 348
Posted By Bugsy
Re: Generate a Random 6 Digit Random ID and Attach on SQL

Provide your table creation statement
Forum: Scripting Help 10-12-2021, 17:00
Replies: 7
Views: 445
Posted By Bugsy
Re: Confusion With Array

for ( new i = 0 ; i < sizeof( arr ) ; i++ )
arrayset( arr[ i ] , 0 , sizeof( arr[] ) );


In your code where you do stuff, put a condition to not do things if kills >= the max. You can get...
Forum: Suggestions / Requests 10-11-2021, 20:07
Replies: 4
Views: 407
Posted By Bugsy
Re: Adding CVAR to disable/enable this plugin

Not tested and not ideal, you ultimately would want to unregister CmdStart when disabled and register when enabled, but that will take some more work.


#include < amxmodx >
#include < fakemeta >...
Forum: Scripting Help 10-10-2021, 21:05
Replies: 2
Views: 303
Posted By Bugsy
Re: Is it possible to increase painshock?

Try this, it looks like 0.5 is default shock, 1.0 is no shock. If you want more than default shock, find a good value between 0.01 and 0.5.

set_pdata_float(id, m_flVelocityModifier, 1.0);

...
Forum: Off-Topic 10-10-2021, 14:44
Replies: 2
Views: 787
Posted By Bugsy
Re: What's your favorite game?

Outlast
Inside
Limbo
Resident Evil 7
All Uncharted games (ps4)
CS 1.6
Forum: Scripting Help 10-10-2021, 12:49
Replies: 7
Views: 445
Posted By Bugsy
Re: Confusion With Array

Because the compiler will not know that you want to set the entire array to 0 and is going to expect an index. You can only do that for a regular variable.
Forum: Suggestions / Requests 10-10-2021, 11:42
Replies: 11
Views: 2,117
Posted By Bugsy
Re: [REQUEST] Lower time flashed CS 1.6

What do you have the cvar set to? The plugin uses default flash time DIVIDED by this cvar value to set the duration. So to get the desired time, set it to the appropriate cvar value as outlined...
Forum: Off-Topic 10-09-2021, 23:58
Replies: 5
Views: 651
Posted By Bugsy
Re: What's the most popular post on AliedModders?

Block Wallhack v8 [CS & CZ]

13.8 million views? is this for real.

https://forums.alliedmods.net/forumdisplay.php?f=8&daysprune=-1&order=desc&sort=views
Forum: Scripting Help 10-09-2021, 21:28
Replies: 22
Views: 843
Posted By Bugsy
Re: Change saved by name to SteamID

If you are editing things after I give it to you or not compiling it correctly then I cannot help. The plugin runs fine for me as I posted it.
Forum: Scripting Help 10-09-2021, 20:50
Replies: 22
Views: 843
Posted By Bugsy
Re: Change saved by name to SteamID

Looks to be working for me. This image is my actual steam photo
Forum: Scripting Help 10-09-2021, 20:23
Replies: 22
Views: 843
Posted By Bugsy
Forum: Scripting Help 10-09-2021, 19:31
Replies: 22
Views: 843
Posted By Bugsy
Re: Change saved by name to SteamID

Weird, here's my data, note that the default avatar URL is included

110203040506070809[P0D]Bot24 (96)10https://i.ibb.co/HB7q1P9/profile.png1109/10/2021 - 19:28:57
...
Forum: Scripting Help 10-09-2021, 19:19
Replies: 22
Views: 843
Posted By Bugsy
Re: Change saved by name to SteamID

Can you show the contents of your data and fields files?
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 13:25.


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