Raised This Month: $7 Target: $400
 1% 

Showing results 1 to 25 of 225
Search took 0.01 seconds.
Search: Posts Made By: zwfgdlc
Forum: Scripting Help 06-29-2010, 03:17
Replies: 18
Views: 3,518
Posted By zwfgdlc
Re: how to use while?

new smoke = -1;
while((smoke = find_ent_by_class (smoke, "toxicsmoke"))
{
remove_entity(smoke);
}
Forum: Scripting Help 12-20-2009, 20:24
Replies: 16
Views: 3,458
Posted By zwfgdlc
Re: cstrike functions : cs_set_weapon_burst , ...

try this.work fine for me.

RegisterHam(Ham_Item_Deploy,"weapon_m4a1","fwd_Item_Deploy");
RegisterHam(Ham_Item_Deploy,"weapon_usp","fwd_Item_Deploy");
...
Forum: Scripting Help 11-16-2009, 12:17
Replies: 11
Views: 2,730
Posted By zwfgdlc
Re: Check That player is moving or not

you don't need regeister anything.

for example:
#include <hamsandwich>

if(ExecuteHam(Ham_IsMoving,id))
{
//player is moving
}
else
Forum: Scripting Help 11-16-2009, 11:58
Replies: 11
Views: 2,730
Posted By zwfgdlc
Re: Check That player is moving or not

try
ExecuteHam(Ham_IsMoving,id);
not tested.
Forum: Scripting Help 11-02-2009, 02:11
Replies: 13
Views: 2,237
Posted By zwfgdlc
Re: no knife

try this.

/* Returns 1 if no knives mode is enabled, else 0.
*/
native cs_get_no_knives();

/* Enabled no knives mode by calling this with value 1. Disabled with 0.
* No knives mode means...
Forum: Scripting Help 09-25-2009, 07:37
Replies: 0
Views: 684
Posted By zwfgdlc
set_module_filter don't work

public plugin_natives()
{
//we need to block things, if they aren't going to be used, that will pause the plugin
set_native_filter( "native_trapper" );
set_module_filter( "module_filter" );
...
Forum: Scripting Help 07-29-2009, 03:49
Replies: 8
Views: 5,422
Posted By zwfgdlc
Re: Disable items in the menu

create a callback function for menu.

like this,not tested.

#include <amxmodx>

#define PLUGIN "Test Menu"
#define AUTHOR "Alucard"
#define VERSION "1.0"
Forum: Scripting Help 07-29-2009, 03:33
Replies: 3
Views: 990
Posted By zwfgdlc
Re: Command to give CT an defusekit

cs_set_user_defuse(id,1);
Forum: Scripting Help 07-21-2009, 12:50
Replies: 4
Views: 1,133
Posted By zwfgdlc
Re: cant jump

try this,not tested.

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>

#define PLUGIN_NAME "block jump"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "zwfgdlc"
Forum: Scripting Help 07-18-2009, 09:57
Replies: 8
Views: 2,070
Posted By zwfgdlc
Re: Make player can't buy anything

try this.not tested.

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <fakemeta>

#define PLUGIN_NAME "no buy"
#define PLUGIN_VERSION "1.0"
#define...
Forum: Scripting Help 07-13-2009, 10:12
Replies: 5
Views: 1,686
Posted By zwfgdlc
Re: how to create a sphere of damage

http://www.amxmodx.org/funcwiki.php?go=func&id=360
Forum: General 07-06-2009, 00:19
Replies: 4
Views: 1,450
Posted By zwfgdlc
Re: CSDM can be Customize?

http://forums.alliedmods.net/showthread.php?p=738696#post738696
Forum: Scripting Help 07-05-2009, 07:47
Replies: 4
Views: 1,431
Posted By zwfgdlc
Re: remove silencer from m4a1

try this,not tested.

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>

#define PLUGIN_NAME "New Plug-In"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "zwfgdlc"
Forum: Scripting Help 07-03-2009, 08:14
Replies: 3
Views: 1,023
Posted By zwfgdlc
Re: Block this weapon ?

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>

#define PLUGIN_NAME "block_weapon"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "zwfgdlc"

new const g_weapon_ents[][] =
{
Forum: Scripting Help 06-13-2009, 12:39
Replies: 17
Views: 3,447
Posted By zwfgdlc
Re: Switch in C/C++ like with Pawn

case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
case 10:
Forum: Scripting Help 06-03-2009, 05:04
Replies: 15
Views: 2,521
Posted By zwfgdlc
Re: Heal When Not Moving?

try Ham_IsMoving /**
* Description: Whether or not the entity is moving.
* Forward params: function(this);
* Return type: Integer.
* Execute params: ExecuteHam(Ham_IsMoving, this);
...
Forum: Scripting Help 05-29-2009, 01:53
Replies: 5
Views: 1,636
Posted By zwfgdlc
Re: Updated other servers when info changes in SQL table

firs register a server console command for update ban information ,For example:"amx_update_baninfo" ,
and using the "socket" modules send a message to other server,like "rcon amx_update_baninfo"....
Forum: Scripting Help 05-28-2009, 00:22
Replies: 4
Views: 1,970
Posted By zwfgdlc
Re: How can I stop roundtime?

i think you use in CS1.5,right?
set_msg_block(get_user_msgid("RoundTime"),BLOCK_SET);
Forum: Approved Plugins 05-27-2009, 23:08
Replies: 35
Views: 53,481
Posted By zwfgdlc
Re: C4man with fun v1.2

replace set_user_renderingby
set_pev(id,pev_effets,pev(id,pev_effects)|EF_NODRAW)
Forum: Scripting Help 05-27-2009, 08:42
Replies: 12
Views: 5,270
Posted By zwfgdlc
Re: ham_strip_weapon

http://forums.alliedmods.net/showthread.php?t=56377
Forum: Scripting Help 05-27-2009, 07:27
Replies: 6
Views: 1,573
Posted By zwfgdlc
Re: Undropable weapons

use ham_strip_weapon.
http://forums.alliedmods.net/showthread.php?t=56377
Forum: Scripting Help 05-27-2009, 06:47
Replies: 26
Views: 4,962
Posted By zwfgdlc
Re: Question about Speed

try this.
set_pev(id, pev_maxspeed, 370.0);
client_cmd(id,"lastinv;lastinv");
Forum: Code Snippets/Tutorials 05-27-2009, 05:09
Replies: 193
Views: 218,496
Posted By zwfgdlc
Re: [INFO] Fakemeta & Ham detailed function descriptions and examples

haha!sorry,my english is very bad.i misunderstand what you say.
Forum: Scripting Help 03-09-2009, 11:36
Replies: 16
Views: 2,807
Posted By zwfgdlc
Re: A simple question...

look this.
http://forums.alliedmods.net/showthread.php?t=86213
Forum: Scripting Help 02-23-2009, 12:05
Replies: 0
Views: 683
Posted By zwfgdlc
CT pickup C4 can't drop

i using VEN's "CT Bomb Stealer" plugins.
http://forums.alliedmods.net/showthread.php?t=40246

but i find a bug,if CT players gained c4, can't drop the C4 with execute "drop" client command.sorry...
Showing results 1 to 25 of 225

 
Forum Jump

All times are GMT -4. The time now is 07:54.


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