Raised This Month: $87 Target: $400
 21% 

Showing results 1 to 25 of 500
Search took 0.52 seconds.
Search: Posts Made By: fysiks
Forum: Scripting Help 11-15-2017, 10:27
Replies: 9
Views: 146
Posted By fysiks
Re: How to limit a command to usage every x minutes

He did it correctly with "less than" because he's using the reverse logic from how I stated it (i.e. he's denying the the use of the function if the elapsed time is less than the required time).
Forum: Suggestions / Requests 11-14-2017, 22:52
Replies: 5
Views: 107
Posted By fysiks
Re: Change the engine font on server?

You can't change the size either. The only thing you can do is change the color of some specific types of text.
Forum: Scripting Help 11-14-2017, 22:50
Replies: 19
Views: 320
Posted By fysiks
Re: change map in plugin script?

I recommend that you take some time to read through some basic tutorials. Most specifically in this case, you don't understand how strings work in this language. There is a very good explanation of...
Forum: Suggestions / Requests 11-14-2017, 22:39
Replies: 5
Views: 107
Posted By fysiks
Re: Change the engine font on server?

Fonts are handled by the client (since the client is the only part that actually displays any text) and you can't edit/replace existing files on the client.
Forum: Suggestions / Requests 11-14-2017, 22:35
Replies: 7
Views: 107
Posted By fysiks
Re: How to edit/ add a option in menu

Since you are new, I'll give you some advice: If you actually want people to help, don't make statements that demand or beg for us to "do something" or "don't do something" (especially in bold...
Forum: Scripting Help 11-14-2017, 22:27
Replies: 9
Views: 146
Posted By fysiks
Re: How to limit a command to usage every x minutes

Store get_systime() in a global variable each time the command is executed. Before actually executing the command, check if get_systime() minus the stored time is greater than 60 (seconds). If it...
Forum: Suggestions / Requests 11-13-2017, 22:45
Replies: 7
Views: 107
Posted By fysiks
Forum: Scripting Help 11-13-2017, 10:30
Replies: 19
Views: 320
Posted By fysiks
Re: change map in plugin script?

@suhdude, you need to learn to search for these types of things. It's the most important part of learning how to script/program. If there is something you want to do that you know has been done in...
Forum: Scripting Help 11-12-2017, 19:56
Replies: 12
Views: 174
Posted By fysiks
Re: Set and Get string

How about you stop being lazy and start reading. The first thing you should have done is to look at the Dynamic/Fake Natives tutorial (https://forums.alliedmods.net/showthread.php?t=41251). If you...
Forum: Suggestions / Requests 11-12-2017, 19:48
Replies: 12
Views: 320
Posted By fysiks
Re: [Plugin] admin.sma

What in the world are you talking about? People come here to get good advice and Bugsy gave you the best advice that could be given in this situation. Just because you don't like what people advise...
Forum: General 11-10-2017, 23:49
Replies: 6
Views: 199
Posted By fysiks
Re: When will be stable release of AMXX 1.8.3?

There is no universal version number methodology, every person/company does it differently.

But the most important part is to stop making major changes so that all the bugs can be found so that it...
Forum: General 11-10-2017, 10:44
Replies: 6
Views: 199
Posted By fysiks
Re: When will be stable release of AMXX 1.8.3?

At some point someone has to "feature freeze" it and only fix bugs. Until you feature freeze it, there's really no hope of a release.

Also, it should probably be called 2.0.0 since it's had...
Forum: HL1 Servers (HLDS) 11-10-2017, 10:40
Replies: 6
Views: 115
Posted By fysiks
Re: ports open/close CSF

Many ports have specific purposes: 20/21 = FTP, 22 = SSH/SFTP, 80 = HTTP, 443 = HTTPS, etc.

If you don't need any of them you can remove them. Granted, if you are hosting your server at home,...
Forum: Scripting Help 11-09-2017, 22:18
Replies: 3
Views: 130
Posted By fysiks
Re: get players and send them cmd

New questions/topics should be posted in a new thread (after searching of course).
Forum: Scripting Help 11-08-2017, 23:39
Replies: 25
Views: 361
Posted By fysiks
Re: How many times are ..

The code I posted requires only the #define lines from the code by BlackRose.
Forum: Scripting Help 11-07-2017, 23:41
Replies: 14
Views: 238
Posted By fysiks
Re: Can I "client_print" to only one team?

Check for the team before calling show_team()



"MultiLang" doesn't change the appearance of text. It's only for language translations.



Simply put a dollar sign in the message (i.e....
Forum: Scripting Help 11-07-2017, 23:40
Replies: 14
Views: 238
Posted By fysiks
Re: Can I "client_print" to only one team?

Nearly every HLDS server have AMX Mod X installed . . .




Delete set_hudmessage() and replace ShowSyncHudMsg() with client_print() (you'll have to adjust the arguments accordingly).
Forum: Scripting Help 11-07-2017, 23:23
Replies: 25
Views: 361
Posted By fysiks
Re: How many times are ..

Do all math in terms of seconds:


iTotalSeconds += 1480 * 60
iDays = DAYS(iTotalSeconds)
iHours = HOURS(iTotalSeconds)
iMinutes = MINUTES(iTotalSeconds)
iSeconds = SECONDS(iTotalSeconds)
Forum: Suggestions / Requests 11-07-2017, 23:17
Replies: 2
Views: 87
Posted By fysiks
Re: Return string native

A little searching found this (https://forums.alliedmods.net/showthread.php?t=236215&highlight=set_string) which has your answer and an example.
Forum: Suggestions / Requests 11-06-2017, 21:47
Replies: 5
Views: 187
Posted By fysiks
Re: Print random lines from txt file

This should be trivial so you can easily do it. Simply read the data into your plugin in an array and use random() to get a random index for the array. Grab the data and display it.
Forum: Scripting Help 11-05-2017, 16:26
Replies: 13
Views: 287
Posted By fysiks
Re: [H3L] Read from BSP

I understand what you want which is why I posted what I did. You can certainly write your own plugin to do it or wait for someone to do it for you (you might be waiting a very long time because it's...
Forum: Scripting Help 11-05-2017, 16:18
Replies: 25
Views: 361
Posted By fysiks
Re: How many times are ..

It was already posted in the quote in Relaxing's first post (at the top of the code).



No. You can learn how it works with the documentation (http://www.amxmodx.org/api) and look for other...
Forum: General 11-05-2017, 16:11
Replies: 20
Views: 5,273
Posted By fysiks
Re: I accidentally banned myself!

That's completely unnecessary. Just do it via the server console using something like HLSW.
Forum: Scripting Help 11-05-2017, 14:13
Replies: 13
Views: 287
Posted By fysiks
Re: [H3L] Read from BSP

It makes much more sense to do it to each map using ResGen when you download the map from the website. It is not necessary to do it in a plugin.
Forum: Scripting Help 11-05-2017, 14:11
Replies: 25
Views: 361
Posted By fysiks
Re: How many times are ..

You cannot represent the colon-format of time as an integer, it can only be represented as a string. You need to explain better what you are actually trying to do. How is it stored in the database...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 21:06.


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