Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 9
1
2
3
>
Last
»
Showing results 1 to 25 of 214
Search took
0.01
seconds.
Search:
Posts Made By:
t3hNox
Forum:
Scripting Help
08-11-2012, 12:25
Replies:
4
Timeleft of another server
Views:
1,032
Posted By
t3hNox
Re: Timeleft of another server
You can use this: https://forums.alliedmods.net/showthread.php?t=150519
Forum:
Scripting Help
07-08-2012, 08:55
Replies:
10
Get current Map and use 'if'
Views:
2,949
Posted By
t3hNox
Re: Get current Map and use 'if'
To be more specific:
if(equali(szMapName, "de_", 3))
It only checks the first three characters (for example, "de_", not the whole map name "de_inferno").
Forum:
Scripting Help
07-02-2012, 18:00
Replies:
3
Invalid player 3
Views:
1,159
Posted By
t3hNox
Re: Invalid player 3
Check if both players are alive.
is_user_alive()
Forum:
Code Snippets/Tutorials
06-29-2012, 14:46
Replies:
32
[TUT] Dynamic / Fake Natives
Views:
43,726
Posted By
t3hNox
Re: [TUT] Dynamic / Fake Natives
Check "core program".
You use iParamID incorrectly. iParamID returns the total amount of parameters passed to the native. For example, for bkf_setFrags you should pass 3 parameters and thus in...
Forum:
Scripting Help
06-29-2012, 13:23
Replies:
13
Empty string
Views:
3,041
Posted By
t3hNox
Re: Empty string
You can use strlen(). Or maybe check if szString[0] = EOS.
Forum:
Scripting Help
06-24-2012, 11:14
Replies:
9
id + any_defined_value in set_task()
Views:
1,786
Posted By
t3hNox
Re: id + any_defined_value in set_task()
The id (3rd param.) in set_task() has to be unique, so you cannot have (actually can have, but using player IDs (1-32) in set_tasks() may turn out to be a bad idea) two or more simultaneous tasks...
Forum:
Code Snippets/Tutorials
06-15-2012, 10:56
Replies:
118
[INC] SQLVault
Views:
51,143
Posted By
t3hNox
Re: [INC] SQLVault
Ok, thank you.
Forum:
Code Snippets/Tutorials
06-15-2012, 10:41
Replies:
118
[INC] SQLVault
Views:
51,143
Posted By
t3hNox
Re: [INC] SQLVault
That's really bad.
Would switching from SQLite to a remote DB for saving player information solve this problem ?
Forum:
Code Snippets/Tutorials
06-15-2012, 10:19
Replies:
118
[INC] SQLVault
Views:
51,143
Posted By
t3hNox
Re: [INC] SQLVault
This may be a random question but is it likely that there might be conflicts between sqlvault_ex include and SQLx module ?
I'm currently working on a plugin which uses both this include and SQLx...
Forum:
Scripting Help
06-11-2012, 06:54
Replies:
9
Changing Timeleft
Views:
2,485
Posted By
t3hNox
Re: Changing Timeleft
Lol, I obviously meant "time left" not "time life" :)
@Liverwiz
The problem with that method is that if original time limit is, for example, 20 mins. and a map has been played for more than these...
Forum:
Scripting Help
06-10-2012, 18:05
Replies:
9
Changing Timeleft
Views:
2,485
Posted By
t3hNox
Re: Changing Timeleft
I'm also interested in finding out how to alter the time life until map change.
Maybe there is an offset or anything like that ?
I've seen a method with getting mp_timeleft cvar pointer and later...
Forum:
Code Snippets/Tutorials
06-07-2012, 17:49
Replies:
6
[TUT] Class Specifiers (new static stock public const)
Views:
10,887
Posted By
t3hNox
Re: [TUT] Class Specifiers (new static stock public const)
FINALLY.
It is actually a basic stuff, but it is not explained anywhere other than Pawn manual.
Thank you for this tutorial.
Forum:
Scripting Help
05-22-2012, 13:13
Replies:
6
Randomly spawn entity
Views:
1,933
Posted By
t3hNox
Re: Randomly spawn entity
This will help you with origins: https://forums.alliedmods.net/showthread.php?t=132500
Forum:
Unapproved/Old Plugins
05-20-2012, 11:26
Replies:
14
QuakeIII Portals
Views:
7,990
Posted By
t3hNox
Re: QuakeIII Portals
This looks really good !
Forum:
Scripting Help
05-19-2012, 15:01
Replies:
5
malloc in pawn?
Views:
1,877
Posted By
t3hNox
Re: malloc in pawn?
Ok, thanks.
Forum:
Scripting Help
05-19-2012, 13:08
Replies:
5
malloc in pawn?
Views:
1,877
Posted By
t3hNox
Re: malloc in pawn?
I would like to clearify something.
In terms of memory usage it means creating Array[33 char] would be more efficient than Array[33] ?
However, creating a simple variable (new SomeVar) would be...
Forum:
Suggestions / Requests
05-12-2012, 13:37
Replies:
2
How to calculate player's online activity ?
Views:
1,048
Posted By
t3hNox
Re: How to calculate player's online activity ?
I think I've found the solution. Lol, it's actually very, very simple.
If anyone is interested:
X - total length of the time interval in which the online activity is measured.
Y - how long a...
Forum:
Suggestions / Requests
05-12-2012, 07:53
Replies:
2
How to calculate player's online activity ?
Views:
1,048
Posted By
t3hNox
How to calculate player's online activity ?
I don't really need anyone to make this plugins for me but since I don't have any code I'm posting in this section.
So I'm looking for an optimal way for calculating an individual player online...
Forum:
Scripting Help
04-02-2012, 14:17
Replies:
2
Data structure doesn't work properly in native function
Views:
1,297
Posted By
t3hNox
Re: Data structure doesn't work properly in native function
Thank you for your advice.
I changed the enum names to something more unique and also changed the plugin's name. After adding the "new" version of plugin to server everything worked as it was...
Forum:
Scripting Help
04-01-2012, 08:33
Replies:
2
Data structure doesn't work properly in native function
Views:
1,297
Posted By
t3hNox
Data structure doesn't work properly in native function
Code:
...
enum _:PowerInfo
{
iTime,
szName[32],
szModel[32],
iColor[3]
}
Forum:
Scripting Help
03-25-2012, 09:10
Replies:
15
random (percents)
Views:
2,106
Posted By
t3hNox
Re: random (percents)
One of ways:
#define PERCENT 45 // % chance
if(random(100)+1 <= PERCENT) // +1 to avoid 0
{
//X percent chance is true
}
Forum:
Scripting Help
03-25-2012, 08:02
Replies:
7
Probably very simple mistake
Views:
1,322
Posted By
t3hNox
Re: Probably very simple mistake
With floats it works like this:
new Float:current_frame
pev(ent, pev_frame, current_frame);
Forum:
Scripting Help
03-25-2012, 05:28
Replies:
1
Sprite show delay
Views:
697
Posted By
t3hNox
Re: Sprite show delay
I might be wrong but you cannot change how long a sprite will be shown without sending this message several times (according to your needs). Although you can change the frame rate but it can make a...
Forum:
Scripting Help
03-24-2012, 19:05
Replies:
10
Place parachute only to CT
Views:
3,227
Posted By
t3hNox
Re: Place parachute only to CT
Just to clearify. Did you recompile the plugin and change map in server ?
Forum:
Scripting Help
03-24-2012, 18:41
Replies:
4
Need help, with my system
Views:
973
Posted By
t3hNox
Re: Need help, with my system
Try:
public eDeath(id) //function name
{
// Create a variable to store the attacker's id
new attacker = read_data( 1 )
// If a player was killed by a HeadShot, this will be used for the...
Showing results 1 to 25 of 214
Page 1 of 9
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
02:35
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode