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 3
1
2
3
>
Showing results 1 to 25 of 51
Search took
0.00
seconds.
Search:
Posts Made By:
SpawnerF
Forum:
Code Snippets/Tutorials
11-23-2018, 12:59
Replies:
28
Artificial intelligence (neural networks)
Views:
16,994
Posted By
SpawnerF
Re: Artificial intelligence (neural networks)
Intresting subject, thank's.
Forum:
Suggestions / Requests
07-13-2017, 21:28
Replies:
3
get timeleft not working
Views:
809
Posted By
SpawnerF
Re: get timeleft not working
what are you trying to achieve?
Forum:
HL1 Servers (HLDS)
07-13-2017, 21:23
Replies:
4
kid hacker heat my server all time attack him
Views:
1,378
Posted By
SpawnerF
Re: kid hacker heat my server all time attack him
sometimes to lag it so none can connect
It's a query flood and it can be limited using some iptable rules.
Forum:
Scripting Help
07-13-2017, 21:16
Replies:
3
Solved
allow/Block changing nick
Views:
774
Posted By
SpawnerF
Re: allow/Block changing nick
what? You can't! because it's already blocked by returning FMRES_HANDLED and on each change name you call set_user_info again.
The only solution is to use a boolean.
Forum:
New Plugin Submissions
07-12-2017, 18:52
Replies:
65
ELEMENT|Live Weather with windage cvar. (Updated AUG 14TH 2022.)
Views:
30,525
Posted By
SpawnerF
Re: Element
The idea is good but the code is messy, you need to clean it first.
Forum:
HL1 Servers (HLDS)
07-12-2017, 18:05
Replies:
4
kid hacker heat my server all time attack him
Views:
1,378
Posted By
SpawnerF
Re: kid hacker heat my server all time attack him
Stop the insult ...
Here you go :
/* First, save the file ! - Sublime AMXX Editor v1.9 */
#include <amxmodx>
#include <amxmisc>
#include <okapi>
Forum:
Scripting Help
07-12-2017, 17:26
Replies:
16
Solved
[ H3LP ] Position by votes
Views:
2,080
Posted By
SpawnerF
Re: [ H3LP ] Position by votes
@HamletEagle, it would be better if it's in a stock function and don't specify the array size.
You can use something like that:
stock sortedArray(arr[], size = sizeof arr)
{
new temp;
...
Forum:
HL1 Servers (HLDS)
07-12-2017, 16:01
Replies:
85
Open Source Half-Life Engine
Views:
35,155
Posted By
SpawnerF
Re: Open Source Half-Life Engine
this should be okey until they fix it :
/* First, save the file ! - Sublime AMXX Editor v1.9 */
#include <amxmodx>
#pragma semicolon 1
new Trie:_hashList;
Forum:
Scripting Help
07-11-2017, 18:20
Replies:
8
What is NULL?
Views:
1,333
Posted By
SpawnerF
Re: What is NULL?
He was talking about c++
KliPPy is right it's defined like that
#define NULL 0
Edit: ( Read also this )
Should I use NULL or 0?
In C++, the definition of NULL is 0, so there is only an...
Forum:
Scripting Help
07-11-2017, 10:07
Replies:
3
I have a problem
Views:
1,001
Posted By
SpawnerF
Re: I have a problem
add this:
#define MAX_PLAYERS 32
Forum:
Scripting Help
07-11-2017, 09:41
Replies:
4
Solved
Integer division and modulo don't work correctly?
Views:
1,047
Posted By
SpawnerF
Re: Integer division and modulo don't work correctly?
Ofc I was talking about %d since the result return a float num means that %d need to choose > .5 or < .5
Forum:
Scripting Help
07-10-2017, 23:03
Replies:
14
Split string
Views:
3,227
Posted By
SpawnerF
Re: Split string
Thanks but I searched yesterday on the new guide package didn't find anything intresting related to sizeof.
I just need to understand something, if it's a pre-processor directive then why it is...
Forum:
Scripting Help
07-10-2017, 18:53
Replies:
4
Solved
Integer division and modulo don't work correctly?
Views:
1,047
Posted By
SpawnerF
Re: Integer division and modulo don't work correctly?
Hmm ... seems like a negative operand produce an incorrect value.
Look what it's writting :
/* forbidden operations */
forward operator%(Float:oper1, Float:oper2);
forward...
Forum:
Scripting Help
07-10-2017, 17:19
Replies:
7
%0.0f throwing compile error
Views:
2,122
Posted By
SpawnerF
Re: %0.0f throwing compile error
It exist already but it accept only Integer type and honestly it makes no sense
forward operator%(Float:oper1, Float:oper2);
forward operator%(Float:oper1, oper2);
forward operator%(oper1,...
Forum:
Scripting Help
07-10-2017, 10:51
Replies:
14
Split string
Views:
3,227
Posted By
SpawnerF
Re: Split string
but is it really a pre-processor function?
Using -l argument in the compiler "-l create list file (preprocess only)"
using charsmax shows
new Size_of_myArray = (sizeof(myArray)-1)
...
Forum:
Scripting Help
07-10-2017, 10:38
Replies:
7
%0.0f throwing compile error
Views:
2,122
Posted By
SpawnerF
Re: %0.0f throwing compile error
Yes I told you it's from the modulus operator "%" ... You can't use modulus with floats so I did a small macro that do for you the job ...
Edit : I think you didn't even test my code.
Forum:
Approved Plugins
07-10-2017, 10:30
Replies:
10
Buy Icon Fix
Views:
6,250
Posted By
SpawnerF
Re: Buy Icon Fix
How did you manage to get this output?
I mean adding argument -a gave me :
CODE ; 0
;program exit point
halt 0
dump 74 65 73 74 0
Forum:
Scripting Help
07-10-2017, 09:54
Replies:
7
%0.0f throwing compile error
Views:
2,122
Posted By
SpawnerF
Re: %0.0f throwing compile error
It's not %0.0f it's modulus who caused this problem
use this :
#define floatmodulus(%0,%1) ((%0/%1)-floatround((%0/%1),floatround_floor))*%1
&
show_hudmessage(id, "[D7] Server FPS:...
Forum:
Scripting Help
07-09-2017, 21:39
Replies:
14
Split string
Views:
3,227
Posted By
SpawnerF
Re: Split string
Yes it's working. You can try it.
edit : sizeof is a pre-processor function?
Forum:
Scripting Help
07-09-2017, 20:57
Replies:
14
Split string
Views:
3,227
Posted By
SpawnerF
Re: Split string
Strings should never be returned from functions especially general purpose functions.
What do you suggest then?
I'm not sure what angle brackets do for creating an array but it's not wise to...
Forum:
Scripting Help
07-09-2017, 19:57
Replies:
14
Split string
Views:
3,227
Posted By
SpawnerF
Re: Split string
I never said that it's important, it's just my way of coding, sorry if it does bother you but I like it like that.
Forum:
HL1 Servers (HLDS)
07-09-2017, 19:31
Replies:
2
Server not joinable
Views:
1,059
Posted By
SpawnerF
Re: Server not joinable
[DPROTO]: Done.
Done.
Forum:
New Plugin Submissions
07-09-2017, 19:15
Replies:
3
Remember The Teams
Views:
2,208
Posted By
SpawnerF
Re: Remember The Teams
Hi,
TBH, that's a bad indentation and bad practice.
In Task you don't need to store big numbers.
Don't use get_maxplayers to make a loop to check "something" always get the real number of...
Forum:
Scripting Help
07-09-2017, 18:24
Replies:
11
Change light environment
Views:
2,717
Posted By
SpawnerF
Re: Change light environment
Light entities
* light
* light_spot
* light_dynamic
* env_projectedtexture
* point_spotlight
* light_environment
* light_directional
Forum:
Suggestions / Requests
07-09-2017, 16:45
Replies:
2
Solved
Create Menu with gaps ?
Views:
735
Posted By
SpawnerF
Re: Create Menu with gaps ?
using ^n or menu_addblank
Showing results 1 to 25 of 51
Page 1 of 3
1
2
3
>
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
15:32
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode