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...
Page 1 of 8
1
2
3
>
Last
»
Showing results 1 to 25 of 190
Search took
0.01
seconds.
Search:
Posts Made By:
floube
Forum:
General
10-11-2014, 11:57
Replies:
0
Fix calling stored procedures in MySQL
Views:
639
Posted By
floube
Fix calling stored procedures in MySQL
Error: Commands out of sync; you can't run this command now (http://dev.mysql.com/doc/refman/5.0/en/commands-out-of-sync.html)
SourceMod seems to be unable executing multiple threaded...
Forum:
Scripting
10-09-2014, 14:57
Replies:
5
Entities their properties & events. Where I can find it?
Views:
2,403
Posted By
floube
Re: Entities their properties & events. Where I can find it?
Afaik, there is no event which fires when a sentry shoots as TF2_CalcIsAttackCritical (https://sm.alliedmods.net/api/index.php?fastload=show&id=883&) fires for players only??
Resources:
SourceMod...
Forum:
Scripting
10-05-2014, 07:42
Replies:
5
[CSGO] - EmitSoundtoWTF
Views:
1,053
Posted By
floube
Re: [CSGO] - EmitSoundtoWTF
Try using EmitSoundAny (https://forums.alliedmods.net/showthread.php?t=237045), it is made to work for CS:GO.
Forum:
Scripting
10-04-2014, 15:49
Replies:
4
EmitSoundToAll for clients?
Views:
1,992
Posted By
floube
Re: EmitSoundToAll for clients?
You'd do something like this:
PrecacheSound("some-folder/hellyeah.wav"); // in OnMapStart()
EmitSoundToClient(iClient, "some-folder/hellyeah.wav"); // where some-folder/hellyeah.wav is in the...
Forum:
Scripting
10-03-2014, 16:21
Replies:
3
Compiling multiple SourcePawn files into one SMX?
Views:
1,841
Posted By
floube
Re: Compiling multiple SourcePawn files into one SMX?
Also, if you use global variables in you include files, make sure to define them before the #include line.
Forum:
Scripting
10-03-2014, 13:06
Replies:
2
Communication between addons?
Views:
739
Posted By
floube
Re: Communication between addons?
Natives. (https://wiki.alliedmods.net/Creating_Natives_%28SourceMod_Scripting%29)
Forum:
Scripting
10-01-2014, 12:30
Replies:
2
Multiple arrays in one
Views:
675
Posted By
floube
Re: Multiple arrays in one
Go for a hash map, and use SetTrieArray (https://sm.alliedmods.net/api/index.php?fastload=file&id=46&).
Forum:
Scripting
09-29-2014, 15:40
Replies:
5
I need help fixing a plugin
Views:
1,528
Posted By
floube
Re: I need help fixing a plugin
You may try a higher value for the radius, like 400, since 20 is pretty much standing inside each other.
Forum:
Scripting
09-29-2014, 13:44
Replies:
3
[SQL] Commands out of sync; you can't run this command now
Views:
1,876
Posted By
floube
Re: [SQL] Commands out of sync; you can't run this command now
After updating to the latest 1.6 snapshot of sourcemod it happens maybe every 10th time.
Probably this commit...
Forum:
Scripting
09-29-2014, 13:42
Replies:
5
Is it same code?
Views:
1,077
Posted By
floube
Re: Is it same code?
Just for more readability (hah)
stock bool:IsClientTeamT(client) {
return (client > 0 && client <= MaxClients && IsClientInGame(client) && GetClientTeam(client) == CS_TEAM_T);
}
Forum:
Scripting
09-28-2014, 06:47
Replies:
1
[Help] rotate entity
Views:
1,456
Posted By
floube
Re: [help]Circular motion
That is something which I use for such things, but idk if it fits your needs.
new Float:fRadius = 200.0;
new Float:fLocation[3], Float:fAngles[3];
GetClientEyePosition(iClient, fLocation);...
Forum:
Scripting
09-27-2014, 14:50
Replies:
2
Counting Splits for a string? [ExplodeString]
Views:
1,726
Posted By
floube
Re: Counting Splits for a string? [ExplodeString]
Also, a useful stock, which should be in the sourcemod includes ...
/**
* Counts the number of occurences of a character in a string.
*
* @param str String.
* @param c ...
Forum:
Scripting
09-27-2014, 07:26
Replies:
11
Player crouch
Views:
4,974
Posted By
floube
Re: Player crouch
Totally works for real players, just tested it.
A bit hackish/ugly though.
Forum:
Scripting
09-26-2014, 16:37
Replies:
3
[SQL] Commands out of sync; you can't run this command now
Views:
1,876
Posted By
floube
[SQL] Commands out of sync; you can't run this command now
Hello, I am getting an error in my code:
Commands out of sync; you can't run this command now.
I read lots of data when the plugin loads, all with threaded queries.
All queries are saved...
Forum:
Scripting
09-26-2014, 09:09
Replies:
11
Player crouch
Views:
4,974
Posted By
floube
Re: Player crouch
And a third method:
public Action:OnPlayerRunCmd(iClient, &iButtons, &iImpulse, Float:fVelocity[3], Float:fAngles[3], &iWeapon) {
iButtons |= IN_DUCK;
}
Forum:
General
09-23-2014, 14:48
Replies:
7
Could not find driver "mysql"
Views:
6,030
Posted By
floube
Re: Could not find driver "mysql"
You're missing
[13] MySQL-DBI (1.6.2-dev+4568): MySQL driver implementation for DBI
Have you checked if
addons/sourcemod/extensions/dbi.mysql.ext.so
exists? If yes, try to load it with sm...
Forum:
General
09-23-2014, 14:24
Replies:
7
Could not find driver "mysql"
Views:
6,030
Posted By
floube
Re: Could not find driver "mysql"
Check this. (http://gaming.stackexchange.com/a/172408)
Forum:
Scripting
09-22-2014, 15:40
Replies:
4
plugin to interact with another program - advice
Views:
904
Posted By
floube
Re: plugin to interact with another program - advice
Probably sending a TCP or UDP packet with the players steam id and listen for it on the server.
Forum:
Scripting
09-21-2014, 17:15
Replies:
1
Help ME!
Views:
695
Posted By
floube
Re: Help ME!
Wrong section. (https://forums.alliedmods.net/forumdisplay.php?f=11)
Forum:
Scripting
09-20-2014, 04:21
Replies:
5
HowTo SQL_TQuery?
Views:
3,412
Posted By
floube
Re: HowTo SQL_TQuery?
Hope that helps you understanding threaded sql.
#include <sourcemod>
new Handle:g_hDatabase;
public OnPluginStart() {
// Connect to the database
Database_Connect();
Forum:
Scripting
09-17-2014, 13:56
Replies:
7
best way to keep track of client time
Views:
1,653
Posted By
floube
Re: best way to keep track of client time
GetTime() (https://sm.alliedmods.net/api/index.php?fastload=show&id=601&)
Return: 32bit timestamp (number of seconds since unix epoch).
Obviously seconds. :bee:
Forum:
Scripting
09-17-2014, 13:21
Replies:
5
[CSS] Block collision event
Views:
1,767
Posted By
floube
Re: [CSS] Block collision event
That is what I use to fix the rocket projectile in TF2, it may work for your needs aswell and should give you the basic idea.
public OnEntityCreated(iEntity, const String:sClassname[]) {
if...
Forum:
Scripting
09-17-2014, 11:42
Replies:
10
Prefix [Vip]
Views:
4,031
Posted By
floube
Re: Prefix [Vip]
Update your SourceMod (http://www.sourcemod.net/snapshots.php) version to the newest one (1.6.2-git4569, as of today).
Forum:
Scripting
09-14-2014, 10:30
Replies:
10
Prefix [Vip]
Views:
4,031
Posted By
floube
Re: Prefix [Vip]
You can do it in the player_active (https://wiki.alliedmods.net/Generic_Source_Server_Events#player_activate) or player_spawn (https://wiki.alliedmods.net/Team_Fortress_2_Events#player_spawn) event....
Forum:
Scripting
09-14-2014, 08:04
Replies:
10
Prefix [Vip]
Views:
4,031
Posted By
floube
Re: Prefix [Vip]
new bool:g_bPrefixedName[MAXPLAYERS + 1];
public OnPluginStart() {
HookUserMessage(GetUserMessageId("SayText2"), SayText2, true);
}
public Action:SayText2(UserMsg:iMessageID,...
Showing results 1 to 25 of 190
Page 1 of 8
1
2
3
>
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
07:57
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode