Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.12 seconds.
Search: Posts Made By: fysiks
Forum: Scripting Help Today, 01:45
Replies: 9
Views: 85
Posted By fysiks
Re: Set Stock or Bool

I gave you a valid response that even you have seen from other people here.
Forum: Scripting Help Today, 00:34
Replies: 9
Views: 85
Posted By fysiks
Re: Set Stock or Bool

There is absolutely no reason to care which is faster (because the difference is negligible) on even a semi-modern computer. If you're interested to know the difference between two versions of code,...
Forum: Scripting Help Today, 00:19
Replies: 9
Views: 85
Posted By fysiks
Re: Set Stock or Bool

There will not be any significant difference.
Forum: Scripting Help Today, 00:05
Replies: 9
Views: 85
Posted By fysiks
Re: Set Stock or Bool

Those two codes don't do the same thing.
You're overthinking things way too much with respect to execution speed for trivial code. Just write code that works. If it become a problem (unlikely)...
Forum: Scripting Help 10-05-2022, 22:16
Replies: 3
Views: 151
Posted By fysiks
Re: get id's id

You need to use a named enum:


enum myEnum {
KILL,
SELFKILL
}

new TopPlayer[32][myEnum]
Forum: Scripting Help 10-04-2022, 22:54
Replies: 7
Views: 269
Posted By fysiks
Re: How to get map description

This tutorial (https://forums.alliedmods.net/showthread.php?t=201872) shows how to set the set and get with TrieSetString and TrieGetString. That should be about all you need since you say you can...
Forum: Scripting Help 10-04-2022, 01:00
Replies: 7
Views: 269
Posted By fysiks
Re: How to get map description

Read the map descriptions into arrays (or even better a Trie with the map name as the key which will be simpler and more efficient than trying to use arrays) and then you can look up the description...
Forum: Scripting Help 10-04-2022, 00:50
Replies: 3
Views: 140
Posted By fysiks
Re: +/- Command

I don't play Half-Life 1 but I did get a server set up and downloaded the game and I was able to reproduce what you're talking about.

You should be able to add a workaround for this. Since you...
Forum: Scripting Help 10-04-2022, 00:00
Replies: 9
Views: 346
Posted By fysiks
Re: emit_sound help

Generally, I agree with that sentiment. If it were something that only affected what you're plugin was doing (or even other plugins) then I wouldn't have an issue.
Forum: Suggestions / Requests 10-03-2022, 23:58
Replies: 9
Views: 296
Posted By fysiks
Re: Multiple wavs playing

"stopsound" stops way more than just the sound that you played and for that reason I would consider it slowhacking.
Forum: Scripting Help 10-02-2022, 22:14
Replies: 3
Views: 174
Posted By fysiks
Re: How is weapon punchangle calculated?

Doesn't the game already do this? Why do you need this value?
Forum: Scripting Help 10-02-2022, 22:13
Replies: 9
Views: 346
Posted By fysiks
Re: emit_sound help

Stopsound is a client command and I would consider this slowhacking because it affects way more than just the sound that you force the player to hear.
Forum: Scripting Help 10-02-2022, 22:11
Replies: 3
Views: 140
Posted By fysiks
Re: +/- Command

What game are you playing? I just tested in Day of Defeat and it works as expected (the + command executes when I press the button and the - command executes when I release the button).

Did you...
Forum: Suggestions / Requests 10-02-2022, 21:57
Replies: 1
Views: 141
Posted By fysiks
Re: Looking to hire for plugins

You should give a basic description of the types of things you're looking for so people know if they are familiar with those types of plugins. Not everybody here is skilled at every types of...
Forum: Scripting Help 10-01-2022, 21:46
Replies: 7
Views: 269
Posted By fysiks
Re: How to get map description

When the next map is chosen (presumably in your map manager), you could read the description file to get the description of the next map and then add that onto whatever you're using to display the...
Forum: HL1 Servers (HLDS) 09-30-2022, 22:01
Replies: 4
Views: 277
Posted By fysiks
Re: I miss goldsrc so much…

I don't miss it because I still play it (Day of Defeat).
Forum: Scripting Help 09-27-2022, 23:51
Replies: 3
Views: 201
Posted By fysiks
Re: Setting Strings

I would normally do it the last way. I doubt there would be any significant performance difference but if the list gets long, it can make the last method much easier to update and maintain.

Even...
Forum: Suggestions / Requests 09-24-2022, 21:50
Replies: 9
Views: 417
Posted By fysiks
Re: Plugin request

If you can't shoot while in the air then what's the point of asking for the plugin that I provided for you? I assume it's possible but then the original plugin that you requested won't do anything. ...
Forum: Suggestions / Requests 09-23-2022, 20:51
Replies: 9
Views: 417
Posted By fysiks
Re: Plugin request

If you can't shoot while in the air then this custom version of the recoil plugin would never do anything.
Forum: Suggestions / Requests 09-22-2022, 23:42
Replies: 9
Views: 417
Posted By fysiks
Re: Plugin request

Probably a translation issue but bullets don't bounce or jump so your posts were confusing. Simply saying recoil is enough.

This modified version should only take affect when you're in the air.
Forum: General 09-22-2022, 22:53
Replies: 6
Views: 297
Posted By fysiks
Re: possible bug in admin flags when player times out?

You can easily wait for both to be true like this:


new Bool:g_bInServer, Bool:g_bAuthorized

public client_putinserver(id)
{
g_bInServer = true;
if( g_bInServer && g_bAuthorized )
{
Forum: General 09-22-2022, 22:29
Replies: 22
Views: 970
Posted By fysiks
Re: AMXBans how to install?

That's strange since all those functions had a check to see if the function already existed before defining the function. The version that you posted actually removes that check which will...
Forum: Suggestions / Requests 09-22-2022, 00:20
Replies: 9
Views: 417
Posted By fysiks
Re: Plugin request

I don't know what it means for "bullets to jump".
Forum: General 09-22-2022, 00:18
Replies: 6
Views: 297
Posted By fysiks
Re: possible bug in admin flags when player times out?

Yes, for anything related to admin access, you should do after client_authorized() and all plugins should be below admin.amxx in plugins.ini.
Forum: General 09-22-2022, 00:12
Replies: 22
Views: 970
Posted By fysiks
Re: AMXBans how to install?

Did you make the additional change that I noted on line 170 of view.php?

I tried setting this up on a local web server and I didn't have any issues with ban_list.php. There seemed to be a bunch...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 14:09.


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