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

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: CrazY.
Forum: Scripting Help Yesterday, 07:41
Replies: 14
Views: 263
Posted By CrazY.
Re: trying to decrease "client_preThink" CPU usage

You can probably replace client_PreThink with Ham_Player_Jump.
Both are called once per frame but Ham_Player_Jump only if a player has the jump key held


/**
* Players have all the attributes...
Forum: HL1 Servers (HLDS) 02-24-2021, 11:31
Replies: 4
Views: 217
Posted By CrazY.
Re: player respawn on connect

0.47 seconds on google
https://forums.alliedmods.net/showthread.php?t=179546
Forum: Suggestions / Requests 02-24-2021, 11:23
Replies: 2
Views: 69
Posted By CrazY.
Re: Need help say /tec9 crash server

public Get_Weapon(id)
{
if (!is_user_alive(id))
return

Set_BitVar(g_Had_Weapon, id)
fm_give_item(id, weapon_basedon)

// Set Ammo
static Ent; Ent...
Forum: Suggestions / Requests 02-24-2021, 11:09
Replies: 6
Views: 129
Posted By CrazY.
Re: kick function

kick player with high ping
https://forums.alliedmods.net/showthread.php?t=1112
Forum: Scripting Help 02-23-2021, 10:04
Replies: 8
Views: 137
Posted By CrazY.
Re: changing v_ model

It won't crash the server unless the model isn't precached.




Not really, you need to update the viewmodel and weaponmodel every time the weapon is deployed, not just one time.

Your code...
Forum: Scripting Help 02-23-2021, 09:39
Replies: 8
Views: 137
Posted By CrazY.
Re: changing v_ model

Just call event_curweapon(id) after client_print


public xknife_handler(id) {
new x_arg[16]
read_argv(1, x_arg, charsmax(x_arg))

switch(x_arg[0]) {
case EOS:...
Forum: Suggestions / Requests 02-23-2021, 09:31
Replies: 2
Views: 121
Posted By CrazY.
Re: Sprites problem?

Likely missing files.
You just need to upload what's missing.
Forum: Scripting Help 02-22-2021, 08:35
Replies: 1
Views: 88
Posted By CrazY.
Re: [L4D] Need help restoring apart of a lost plugins source file.

This section is for AMX Mod X. Left 4 Dead is a source game, you should post here instead https://forums.alliedmods.net/forumdisplay.php?f=52
Forum: Scripting Help 02-22-2021, 08:33
Replies: 1
Views: 106
Posted By CrazY.
Re: Item limit menu problem

case 4:
{
if(limit_frostm4[id] >= 2)
{
limit_frostm4[id]++
client_printcolored(id, "!g[GCG] !nYou've reached the limit !t[2/2]")
}
else if(zp_ammopacks_get(id)...
Forum: Scripting Help 02-19-2021, 10:35
Replies: 2
Views: 173
Posted By CrazY.
Re: mysql escape string

SQL_QuoteString calls mysql_real_escape_string, should be safe.


int MysqlDatabase::QuoteString(const char *str, char buffer[], size_t maxlen, size_t *newsize)
{
unsigned long size =...
Forum: Scripting Help 02-14-2021, 09:45
Replies: 11
Views: 395
Posted By CrazY.
Re: For(new i) help

That's called modulus operator. I'm not an expert on the subject so I'm just going to quote something I found in a webpage

source:...
Forum: Scripting Help 02-13-2021, 17:54
Replies: 8
Views: 301
Posted By CrazY.
Re: help me with this respawn plugin

If you are using this in a counter-strike server you should use Ham_CS_RoundRespawn instead of Ham_Spawn
Forum: Suggestions / Requests 02-13-2021, 09:50
Replies: 59
Views: 55,503
Posted By CrazY.
Re: al3x Blockmaker

I guess that's because you are just replacing the server models. You'll need to delete those models from your counter-strike downloads folder in order to download the new ones.
Forum: Scripting Help 02-13-2021, 09:47
Replies: 3
Views: 160
Posted By CrazY.
Re: zp knockback

Edit zp_zombieclasses.ini. You can find the file in addons/amxmodx/configs
Forum: Scripting Help 02-11-2021, 18:04
Replies: 3
Views: 140
Posted By CrazY.
Re: ZP 5.0 HS Damage

Doesn't really matter, anywhere you desire. The first code I provided can be compiled already without doing any changes though.
Forum: Scripting Help 02-11-2021, 17:52
Replies: 3
Views: 140
Posted By CrazY.
Re: ZP 5.0 HS Damage

You will need to hook Ham_TraceAttack and change the value of the "damage" parameter, something like the following


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

public...
Forum: Scripting Help 02-10-2021, 19:35
Replies: 7
Views: 190
Posted By CrazY.
Re: Zombie class health zp 5.0

You should edit zp_zombieclasses.ini instead. You can find it in addons/amxmodx/configs/
Forum: Suggestions / Requests 02-10-2021, 18:17
Replies: 59
Views: 55,503
Posted By CrazY.
Re: al3x Blockmaker

Get the plugin's .sma and compile
Forum: Off-Topic 02-10-2021, 18:14
Replies: 1
Views: 457
Posted By CrazY.
Re: Merge models

I think you just need to separate the model names by a comma.

HUMAN = model1 , model2 , model3 , model4
Forum: Scripting Help 02-06-2021, 09:59
Replies: 8
Views: 524
Posted By CrazY.
Re: Auto Swap Teams Error

Try this

#include <amxmodx>
#include <cstrike>
#include <fakemeta_util>

//#pragma semicolon 1

new rounds_count=1, after_half=0;
new enable, live, half_rounds;
Forum: Scripting Help 02-05-2021, 13:32
Replies: 10
Views: 334
Posted By CrazY.
Re: nvault timestamp

EOS means end of string
Forum: Suggestions / Requests 02-04-2021, 13:50
Replies: 6
Views: 224
Posted By CrazY.
Re: Jailbreak cstrike

Actually, orpheu does work with regamedl, but you may need to update the signatures.
Forum: Scripting Help 02-03-2021, 18:48
Replies: 10
Views: 334
Posted By CrazY.
Re: nvault timestamp

Test with format_time instead of this

UnixToTime(iTime, iYear, iMonth, iDay, iHour, iMinute, iSecond)
client_print_color(id, print_team_default, "%s You will be a VIP until^4...
Forum: Scripting Help 02-03-2021, 14:31
Replies: 1
Views: 214
Posted By CrazY.
Re: How to adjust player model's angles?

I think EV_VEC_v_angle will do the trick.
Forum: Scripting Help 01-31-2021, 09:49
Replies: 5
Views: 401
Posted By CrazY.
Re: Player vote menu

You'll need a global variable to store the votes.


new g_PlayerVotes[MAX_PLAYERS+1]



In menu_handler
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 08:15.


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