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 10
1
2
3
>
Last
»
Showing results 1 to 25 of 233
Search took
0.01
seconds.
Search:
Posts Made By:
Elusive138
Forum:
Scripting Help
01-17-2012, 03:30
Replies:
2
Voice chat control
Views:
976
Posted By
Elusive138
Re: Voice chat control
Bump - Anyone?
A plugin by shadow.hk, which uses the same general method (also from Exolent), did not work either.
Forum:
Scripting Help
12-06-2011, 06:58
Replies:
2
Voice chat control
Views:
976
Posted By
Elusive138
Re: Voice chat control
Bump?
Forum:
Scripting Help
11-13-2011, 02:15
Replies:
2
Voice chat control
Views:
976
Posted By
Elusive138
Voice chat control
I have the following code (yes, this is for a jailbreak mod), based on something Exolent posted (https://forums.alliedmods.net/showpost.php?p=760466&postcount=2):
// Thanks Exolent >...
Forum:
Scripting Help
10-28-2011, 01:54
Replies:
12
Get when user is aiming at SOLID_TRIGGER
Views:
2,727
Posted By
Elusive138
Re: Get when user is aiming at SOLID_TRIGGER
Thanks for all the suggestions, though I think I'll stick with my previous one, with a radius of.. say.. 5, and see how that goes. If it's too slow I'll increase it. There aren't going to be that...
Forum:
Scripting Help
10-28-2011, 01:48
Replies:
3
get_pcvar_num returning different number?
Views:
1,095
Posted By
Elusive138
Re: get_pcvar_num returning different number?
Thanks! It seemed I'll probably get the value and cache it during plugin_cfg() or something.
Thanks for the additional insight into the problem. I had considered using letter flags, as it...
Forum:
Scripting Help
10-27-2011, 06:49
Replies:
12
Get when user is aiming at SOLID_TRIGGER
Views:
2,727
Posted By
Elusive138
Re: Get when user is aiming at SOLID_TRIGGER
Thanks a bunch, that works very well. I also used some code from Exolent when he was helping someone else get origins along a player's aim.
Before using it on a server with players, I was...
Forum:
Scripting Help
10-27-2011, 03:53
Replies:
12
Get when user is aiming at SOLID_TRIGGER
Views:
2,727
Posted By
Elusive138
Re: Get when user is aiming at SOLID_TRIGGER
Do custom entities (mines) send StatusValue? It looks like it's just for players and hostages, where the hp and name info comes up on the screen.
Forum:
Scripting Help
10-27-2011, 03:37
Replies:
3
get_pcvar_num returning different number?
Views:
1,095
Posted By
Elusive138
get_pcvar_num returning different number?
I needed a way to detect when people are armed. To do this, and have a cvar for easier customisation, I used a sum of bits shifted using CSW_* constants. For some reason, this doesn't work for HE...
Forum:
Scripting Help
10-27-2011, 03:08
Replies:
12
Get when user is aiming at SOLID_TRIGGER
Views:
2,727
Posted By
Elusive138
Re: Get when user is aiming at SOLID_TRIGGER
Could you please elaborate on how I could use that? I want to show the name of the owner of a mine, and there could be any number of different people who plant mines on top of each other. The aimed...
Forum:
Scripting Help
10-22-2011, 23:23
Replies:
12
Get when user is aiming at SOLID_TRIGGER
Views:
2,727
Posted By
Elusive138
Get when user is aiming at SOLID_TRIGGER
We have this plugin where some players can plant mines. In an attempt to prevent abuse (i.e. allow admins to see who planted a mine in a prohibited location), we have this function:
public...
Forum:
Scripting Help
09-30-2011, 09:45
Replies:
8
[Help] Need script
Views:
1,701
Posted By
Elusive138
Re: [Help] Need script
Ah... probably not a good thing I never noticed. Thanks for the tip, luckily I haven't used that on anything too important yet... I hope. *goes to check*
Forum:
Scripting Help
09-30-2011, 07:58
Replies:
8
[Help] Need script
Views:
1,701
Posted By
Elusive138
Re: [Help] Need script
This was a stock I wrote some time ago
stock get_player_team_count(&ctnum, &tnum) {
ctnum = 0;
tnum = 0;
new maxplayers = get_maxplayers();
for (new i = 1; i <= maxplayers;...
Forum:
Scripting Help
09-30-2011, 05:01
Replies:
14
How to make code shorter?
Views:
2,579
Posted By
Elusive138
Re: How to make code shorter?
If you have a lot of mapnames, maybe use a Trie? Could be faster and makes it easier to read a file for a list of maps.
Forum:
Scripting Help
09-30-2011, 03:53
Replies:
2
menu_destroy doesn't clear the variable?
Views:
904
Posted By
Elusive138
menu_destroy doesn't clear the variable?
new menu = menu_create(title, handler) // menu == new menu id
menu_destroy(menu) // menu == old, invalid menu idIs there any particular reason menu_destroy doesn't set the variable to 0, like...
Forum:
Zombie Plague Mod
09-20-2011, 04:35
Replies:
827
Sticky:
ZP 5.0 Betas/Updates
Views:
507,018
Posted By
Elusive138
Re: Zombie Plague 5.0 Beta 3
Well, I happen to have the same problem, and I have the thing running on a mostly clean server (clean amxmodx, some zombie maps).
To clarify:
When zp_respawn_after_last_human 0, zombies die....
Forum:
Scripting Help
05-22-2011, 03:16
Replies:
5
Reset rank - client side?
Views:
1,950
Posted By
Elusive138
Re: Reset rank - client side?
The default CS ranking plugin will actually put a KDR of 0 in or near the middle. In general, if the player has more kills than deaths, then they are above a new player, and vice versa. So, if your...
Forum:
Scripting Help
05-07-2011, 07:40
Replies:
13
Float problem
Views:
1,875
Posted By
Elusive138
Re: Float problem
There might be an easier way, but for rounding to a number of decimal places, you can always do
fNum = floatround(fNum*10) / 10.0stock Float:floatround_dp(Float:num, dp)
{
new Float:mult =...
Forum:
Scripting Help
04-28-2011, 19:58
Replies:
14
Connect Separate Plugins?
Views:
3,428
Posted By
Elusive138
Re: Connect Separate Plugins?
Well, firstly, if it's register_library("bazookamod"), then you should be using #pragma reqlib "bazookamod". This way the plugin will at least load. Maybe reread the tutorial carefully?
Secondly,...
Forum:
Scripting Help
04-28-2011, 10:33
Replies:
12
if (!cvar_g && !cvar_g) Help.
Views:
2,707
Posted By
Elusive138
Re: if (!cvar_g && !cvar_g) Help.
Just wanted to mention that you are working with plugin variables. Those are not cvars. Cvars are... kind of public variables that exist for the whole server instance and can be accessed (read/set)...
Forum:
Scripting Help
04-20-2011, 03:01
Replies:
4
force round end question
Views:
1,527
Posted By
Elusive138
Re: force round end question
Try Arkshine's Round Terminator (http://forums.alliedmods.net/showthread.php?p=1122356).
If you want something simpler, this might work too.set_cvar_num("sv_restartround", 1);
Forum:
Scripting Help
04-19-2011, 04:15
Replies:
1
Stack Error
Views:
967
Posted By
Elusive138
Re: Stack Error
bump?
Forum:
Scripting Help
04-07-2011, 22:15
Replies:
6
Commands for Ts are executed on CTs
Views:
1,424
Posted By
Elusive138
Re: Commands for Ts are executed on CTs
Well, firstly, use is_user_connected() or is_user_alive(), otherwise it'll error on the first non-existent id.
Also, since you're checking the team of all 'user's, set_user_maxspeed(id,320)...
Forum:
Scripting Help
04-06-2011, 21:35
Replies:
9
Loop wont run more than 4 times
Views:
1,846
Posted By
Elusive138
Re: Loop wont run more than 4 times
Also, client_print(0, print_chat, "[Debug] loop is running %d", player) would only print the player id that the current iteration is using. Use client_print(0, print_chat, "[Debug] loop is running...
Forum:
Scripting Help
04-05-2011, 06:38
Replies:
1
Stack Error
Views:
967
Posted By
Elusive138
Stack Error
L 04/05/2011 - 17:37:19: [AMXX] Run time error 3: stack error
The line number varies, but it's often in the colorchat.inc, when declaring the new 256 cell message string. Other times, it's on a...
Forum:
Scripting Help
04-03-2011, 10:11
Replies:
4
Error on get_user_weapon
Views:
2,675
Posted By
Elusive138
Re: Error on get_user_weapon
Might be better to do an is_user_alive(Killer) if you're going to be getting the current weapon..
Showing results 1 to 25 of 233
Page 1 of 10
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
18:46
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode