This site is a testing version, but all data is shared with the
live forum
.
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 20
1
2
3
11
>
Last
»
Showing results 1 to 25 of 500
Search took
0.05
seconds.
Search:
Posts Made By:
Lee
Forum:
Trash
05-16-2009, 12:40
Replies:
19
get_user_weapon2()
Views:
8,949
Posted By
Lee
Re: get_user_weapon2()
The syntax for both is the same; it depends on whether the function to which you pass func() as a parameter expects a value or a reference to an array.
console_print("%c %s", func(), func());...
Forum:
Off-Topic
05-16-2009, 10:38
Replies:
2,786
Funniest Posts
Views:
633,671
Posted By
Lee
Re: Funniest Posts
+karma
Oh, wait.
Forum:
Trash
05-16-2009, 09:50
Replies:
19
get_user_weapon2()
Views:
8,949
Posted By
Lee
Re: get_user_weapon2()
Calling a native such as format eliminates the purpose of using string slicing (https://forums.alliedmods.net/showthread.php?t=61367) instead of replace().
Forum:
Scripting Help
05-10-2009, 11:04
Replies:
16
[FATAL ERROR] (shutting down) what does this mean..
Views:
6,698
Posted By
Lee
Re: [FATAL ERROR] (shutting down) what does this mean..
for(i = 0; i < iNum; i++)
You have an extra iteration of the loop. The is_user_connected() call is also redundant. You can probably remove get_players() and the loop entirely and follow...
Forum:
Scripting Help
05-10-2009, 10:30
Replies:
19
Random player/s.
Views:
5,166
Posted By
Lee
Re: Random player/s.
Hah, this forum never changes, discussing minor details about code that doesn't even meet the requirements.
padilha007: you've been told what's wrong with your code. You're using set_task() as a...
Forum:
Scripting Help
05-09-2009, 15:53
Replies:
19
Random player/s.
Views:
5,166
Posted By
Lee
Re: Random player/s.
Indeed (depending on what approach to collecting valid players is taken). Here's an efficient and simple solution to a simple problem.
#include <amxmodx>
new bool:isConnected[33];
public...
Forum:
Scripting Help
05-09-2009, 15:28
Replies:
19
Random player/s.
Views:
5,166
Posted By
Lee
Re: Random player/s.
I don't know why you guys are using set_task() and recursion when a simple while loop would be more efficient.
hleV, do you not see the problem with that? Since player indexes aren't necessarily...
Forum:
Trash
05-08-2009, 08:12
Replies:
5
Question for those who believe all religion should be abolished?
Views:
1,557
Posted By
Lee
Re: Question for those who believe all religion should be abolished?
Most people are born into a religion, they don't "choose" it.
Forum:
Off-Topic
04-23-2009, 06:50
Replies:
15
Poll:
POLL: What do you think will happen to Counter Strike 1.6 in 5 years?
Views:
4,079
Posted By
Lee
Re: POLL: What do you think will happen to Counter Strike 1.6 in 5 years?
That's what people were saying five years ago and they were right, but Counter-Strike still competes with the largest blockbusters released today, but unlike them has proven its unmatched longevity....
Forum:
Off-Topic
04-23-2009, 02:09
Replies:
15
Poll:
POLL: What do you think will happen to Counter Strike 1.6 in 5 years?
Views:
4,079
Posted By
Lee
Re: POLL: What do you think will happen to Counter Strike 1.6 in 5 years?
There's no "things will stay largely as they are" option.
Forum:
Off-Topic
04-03-2009, 14:42
Replies:
50
People who can't speak / spell in english
Views:
7,993
Posted By
Lee
Re: People who can't speak / spell in english
What's your excuse? You shouldn't throw stones if you live in a glass house.
Forum:
Off-Topic
03-25-2009, 18:15
Replies:
30
Poll:
What about your eyes?
Views:
6,974
Posted By
Lee
Re: What about your eyes?
I was wondering how what I've since learnt is called visual acuity is calculated - so I looked it up. The two figures don't refer to each eye and you'll be pleased to know 20/15 is actually superior...
Forum:
Scripting Help
01-06-2009, 17:53
Replies:
8
Is it possible to optimize this code?
Views:
2,509
Posted By
Lee
Re: Is it possible to optimize this code?
Yes, of course, but he's currently doing the same thing whether it's a command we're interested in or someone talking about their cat that just got run over.
Forum:
Scripting Help
01-06-2009, 17:01
Replies:
8
Is it possible to optimize this code?
Views:
2,509
Posted By
Lee
Re: Is it possible to optimize this code?
anakin_cstrike, if you iterate over g_Commands in plugin_init() and use said loop to call register_clclmd() and still retain one public fuction, you keep the extensibility without having to pass...
Forum:
Trash
01-05-2009, 02:50
Replies:
15
/b/ Thread
Views:
3,860
Posted By
Lee
Re: /b/ Thread
To say that /b/ is a 4chan board is to say that all Off-Topic / General Chat forums belong to AlliedModders.
Forum:
Scripting Help
12-27-2008, 15:36
Replies:
21
[HELP] Switching two variables
Views:
3,301
Posted By
Lee
Re: [HELP] Switching two variables
Assignment XOR (exclusive disjunction).
http://en.wikipedia.org/wiki/XOR
http://en.wikipedia.org/wiki/XOR_swap_algorithm
Forum:
Suggestions / Requests
12-27-2008, 14:24
Replies:
13
Limted admin Slap / Slay / Ban / Kick
Views:
5,329
Posted By
Lee
Re: Limtied admin Slap / Slay / Ban / Kick
icanhascommandlimiterplugin.sma adds limits for amx_banip and amx_addban and also defaults the four cvars to the values you asked for originally.
plmenu_edited.sma adds command restriction support...
Forum:
Scripting Help
12-27-2008, 11:57
Replies:
7
Syntax info needed
Views:
1,858
Posted By
Lee
Re: Syntax info needed
As for your question of "can you use {variable} to create an array?", it would have been a lot quicker for you to test it and find out.
If you're not going to call change_task(), remove_task() or...
Forum:
Scripting Help
12-22-2008, 18:19
Replies:
17
How to make a ini file?
Views:
3,677
Posted By
Lee
Re: How to make a ini file?
A file extension is nothing but a piece of metadata that tells the operating system which program should be used to read a file that uses a particular encoding technique. It has no bearing on how the...
Forum:
Code Snippets/Tutorials
12-22-2008, 16:28
Replies:
11
String Slicing
Views:
10,889
Posted By
Lee
Re: String Slicing
Another use for this technique is to store multiple items of data (strings and/or integers) in one variable. This is useful when you're only able to pass one array to a function or native, such as...
Forum:
Code Snippets/Tutorials
12-22-2008, 16:10
Replies:
292
New XP Mod tutorial
Views:
159,539
Posted By
Lee
Re: New XP Mod tutorial
new AuthID[35]
get_user_authid(id,AuthID,34)
Curly braces are usually only used to denote where a loop, conditional, or enumeration block starts and ends.
Of course, for a SteamID to be 34...
Forum:
Off-Topic
12-22-2008, 11:41
Replies:
2
Compiler error?
Views:
1,368
Posted By
Lee
Re: Compiler error?
/*
DONT EDIT ANYTHING THERE OR =
_________e$$$$$$e.
_______e$$$$$$$$$$e
______$$$$$$$$$$$$$$
_____d$$$$$$$$$$$$$$b
_____$$$$$$$$$$$$$$$$
____4$$$$$$$$$$$$$$$$F
Forum:
Off-Topic
12-19-2008, 19:28
Replies:
16
Rant Thead
Views:
3,550
Posted By
Lee
Re: Rant Thead
You have chosen to spend time posting a poorly written rant to an internet message board when you could been acting constructively. Computing is a field that advances and changes very quickly and,...
Forum:
Scripting Help
12-19-2008, 18:25
Replies:
4
get_user_rendering ? oO
Views:
2,844
Posted By
Lee
Re: get_user_rendering ? oO
&Float:flColor[3]
He's saying that the above ampersand is superfluous because when passing arrays, its address rather than value is what's supplied to the function in all cases.
On compilation...
Forum:
Off-Topic
12-15-2008, 06:35
Replies:
33
Batter Anti Virus Software?
Views:
8,199
Posted By
Lee
Re: Batter Anti Virus Software?
I currently have only one tab open and Firefox is consuming 328 MB of RAM and 349 MB of my page file, both down by around 100 MB since I had lot of tabs open. That's what BAILOPAN calls "aggressive...
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
18:00
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode