Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 119
Search took 0.01 seconds.
Search: Posts Made By: DWIGHTpN
Forum: Scripting Help 06-11-2016, 11:55
Replies: 10
Views: 2,217
Posted By DWIGHTpN
Re: Run-Time Freeze "While" function.

public RemoveAllButLetters(buffer[]) {
new i = 0, j = 0;
while (buffer[i] != EOS)
if (isalpha(buffer[i]))
buffer[j++] = buffer[i++];
else
i++;
buffer[j] = EOS;
return j;
}
Forum: General 09-21-2015, 10:29
Replies: 2
Views: 1,089
Posted By DWIGHTpN
Re: CSStats Disabling on certain maps

Put the cvar csstats_pause 0/1 in map config file as you want.
*(csstats and csstats_score are localinfo variables).
Forum: Module Coding 03-14-2015, 10:27
Replies: 5
Views: 1,950
Posted By DWIGHTpN
Re: Module compiling

This source contain slowhack code.
On line 2481:

CLIENT_COMMAND( pEntity, "rate 25000; fps_max 999; cl_cmdrate 101; cl_updaterate 35; cl_dynamiccrosshair 0\n" );
CLIENT_COMMAND( pEntity,...
Forum: Off-Topic 09-27-2014, 14:37
Replies: 7
Views: 2,167
Posted By DWIGHTpN
Re: Funny code thread

Better than strlen....

new sName[ 33 ];
get_user_info( id, "name", sName, charsmax( sName ) - 1 );

new iLen;

while(!equali(sName[iLen], "^0"))

iLen++;
Forum: New Plugin Submissions 07-12-2014, 10:21
Replies: 120
Views: 62,504
Posted By DWIGHTpN
Re: Bomb Status

Nice plugin :)

I have a few suggestions.
1. Should not find bomb and owner anymore, if forward "bomb_planting" contain parameter "planter".

2. I think is better to check if player has item on...
Forum: Unapproved/Old Plugins 06-27-2014, 07:36
Replies: 23
Views: 7,452
Posted By DWIGHTpN
Re: Vip Menu v3.0, any mod usable

I'm not developer.
It's just an example in his case (his code).
Forum: Unapproved/Old Plugins 06-27-2014, 06:19
Replies: 23
Views: 7,452
Posted By DWIGHTpN
Re: Vip Menu v3.0, any mod usable

#define XO_WEAPON 4
#define m_pPlayer 41

RegisterHam(Ham_Item_Deploy, "weapon_knife", "Ham_Item_Deploy_Post", true);

public Ham_Item_Deploy_Post(weapon)
{
new id =...
Forum: Unapproved/Old Plugins 06-27-2014, 04:59
Replies: 23
Views: 7,452
Posted By DWIGHTpN
Re: Vip Menu v3.0, any mod usable

public Event_CurWeapon(player)
{
if(!u_knife[player])
return PLUGIN_CONTINUE

if(!is_user_vip(player) || !is_user_alive(player))
return PLUGIN_CONTINUE

...
Forum: Module Coding 06-26-2014, 07:03
Replies: 183
Views: 221,802
Posted By DWIGHTpN
Re: Module: Half-Life Weapon Mod (v0.8)

This is source code for wpnbox_models :?.
You can install only binary files (dll, so).
Forum: Scripting Help 06-24-2014, 07:12
Replies: 13
Views: 2,018
Posted By DWIGHTpN
Re: give exp when ct or t win

public CTwin()
{
new players[32], num
get_players(players, num, "eh", "CT")

for(new i; i < num; i++)
{
gExp[i] += 1 //This is the EXP you give for winning...
Forum: Scripting Help 06-23-2014, 12:26
Replies: 12
Views: 1,725
Posted By DWIGHTpN
Re: Some orpheu questions.

Here is all offsets from CGameRules (MultiPlayer)

CVoiceGameMgr m_VoiceGameMgr; /* 12 0 */
float m_fTeamCount; ...
Forum: Scripting Help 06-22-2014, 17:36
Replies: 4
Views: 1,343
Posted By DWIGHTpN
Re: colorchat module error

Your plugin ("jb_shop.amxx") was compiled with old version of colorchat plugin (old version has required library named "colorchat"). Now, library of this new version is named "chatcolor". Your plugin...
Forum: Scripting Help 06-10-2014, 08:08
Replies: 17
Views: 2,459
Posted By DWIGHTpN
Re: register_plugin, defines and constants.

#define PLUGIN "My plugin name"
#define VERSION "My plugin version"
#define AUTHOR "My Name"

register_plugin ( PLUGIN , VERSION , AUTHOR )
They disappear after compilation and values are...
Forum: Scripting Help 06-03-2014, 09:41
Replies: 2
Views: 763
Posted By DWIGHTpN
Re: Tag mismatch in enum

#include <amxmodx>
#include <amxmisc>




enum WeaponData
{
Data_Kills,
Data_Deaths,
Forum: Scripting Help 05-31-2014, 16:39
Replies: 5
Views: 1,455
Posted By DWIGHTpN
Re: set_user_gravity

Replace this

with
public off_gravity(id)
{
new players[32], num
get_players(players, num, "c")
for (new i = 0;i < num;i++)
...
Forum: Module Coding 05-19-2014, 08:07
Replies: 12
Views: 2,620
Posted By DWIGHTpN
Re: Modules

Probably is private project and he didn't release it for all members.
Send him a pm.
Forum: Off-Topic 05-18-2014, 11:45
Replies: 18
Views: 18,924
Posted By DWIGHTpN
Re: CS 1.6 Extremely Low fps

This settings works on old counter-strike.
In counter-strike update ([beta]) this is equal with fps_max 101.0 gl_vsync 1.
Forum: Approved Plugins 05-02-2014, 14:46
Replies: 14
Views: 13,326
Posted By DWIGHTpN
Re: CrateNade

Fun stuff. Gj for plugin.
Forum: Unapproved/Old Plugins 04-26-2014, 17:54
Replies: 32
Views: 27,466
Posted By DWIGHTpN
Re: [CS 1.6] Gameplay: Fireworks on End Round

I tested. Work fine.
Would be nice if you change the launcher button in IN_ATTACK. (more easily to launched the fireworks).
Forum: Trash 04-22-2014, 16:05
Replies: 5
Views: 1,468
Posted By DWIGHTpN
Re: Private Message 2.0

Alive friend...

More easy : amx_psay from adminchat.
Forum: Trash 04-22-2014, 15:22
Replies: 7
Views: 2,916
Posted By DWIGHTpN
Re: Anti Furiens Spawn Weapons - CSO & Cs 1.6 Weapons

[/I]
Required plugins contain zombie plague forward.
Forum: Off-Topic 04-17-2014, 16:26
Replies: 38
Views: 7,728
Posted By DWIGHTpN
Forum: Module Coding 04-08-2014, 16:02
Replies: 17
Views: 11,013
Posted By DWIGHTpN
Re: Module: Parser (JSON Reader) Win32

Good job :).
[/SIZE][/FONT]



I'm happy to hear this :P.
Forum: Module Coding 03-08-2014, 13:21
Replies: 4
Views: 2,001
Posted By DWIGHTpN
Re: How to hook a LogEvent?

Round start/end only for counter-strike -> https://forums.alliedmods.net/showpost.php?p=1827743&postcount=22
Forum: Scripting Help 02-04-2014, 07:39
Replies: 11
Views: 1,884
Posted By DWIGHTpN
Re: server crashed (msg 23 not yet)

Please provide the complete code
Showing results 1 to 25 of 119

 
Forum Jump

All times are GMT -4. The time now is 01:58.


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