Raised This Month: $222 Target: $400
 55% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: CrazY.
Forum: Off-Topic 05-05-2021, 18:38
Replies: 3
Views: 339
Posted By CrazY.
Re: decompile amxx

Not sure what do you mean with "nothing changed". What are you trying to do?
Forum: Scripting Help 05-05-2021, 18:37
Replies: 1
Views: 108
Posted By CrazY.
Re: [CS 1.6]Editable Deathrun Mod Shop

If you are looking for someone to do that for you, you should ask in requests section instead.
Scripting help is for learning purposes.
Forum: Scripting Help 05-05-2021, 18:32
Replies: 5
Views: 187
Posted By CrazY.
Re: Bool different status on different maps

You can do that with nvault.
https://forums.alliedmods.net/showthread.php?t=91503
Forum: Off-Topic 05-04-2021, 10:31
Replies: 3
Views: 339
Posted By CrazY.
Re: decompile amxx

Short answer: not possible.
Use the decompiled with lysis as a reference to rewrite the whole thing.
Forum: Scripting Help 05-04-2021, 10:20
Replies: 2
Views: 122
Posted By CrazY.
Re: Getting money from headshot with Ham_Killed

You could use m_LastHitGroup with Ham_Killed.
Forum: Scripting Help 04-19-2021, 10:22
Replies: 6
Views: 213
Posted By CrazY.
Re: Write to .txt file and put +1

#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
register_plugin("Plugin", "Version", "Author")

new filename[128]
formatex(filename[get_configsdir(filename,...
Forum: Scripting Help 04-19-2021, 10:09
Replies: 6
Views: 213
Posted By CrazY.
Re: Write to .txt file and put +1

#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
register_plugin("Plugin", "Version", "Author")

new filename[128]
formatex(filename[get_configsdir(filename,...
Forum: Scripting Help 04-15-2021, 10:01
Replies: 2
Views: 231
Posted By CrazY.
Re: Knife with AmmoHUD

You will have to play with either AmmoX or CurWeapon and maybe WeaponList.
Forum: Scripting Help 04-12-2021, 11:59
Replies: 21
Views: 839
Posted By CrazY.
Re: I need ideas to solve this

Set a task with the flag "b". The time shouldn't be too short, otherwise it will consume too much from the machine. I believe something between 30.0 and 240.0 should be okay, that will depend on the...
Forum: Scripting Help 04-12-2021, 11:27
Replies: 16
Views: 762
Posted By CrazY.
Re: Set armor and helmet using only engine

The problem is that some functions make a bunch of calls. Look at fm_give_item for example


stock fm_give_item(index, const item[]) {
if (!equal(item, "weapon_", 7) && !equal(item, "ammo_", 5)...
Forum: Scripting Help 04-12-2021, 11:13
Replies: 3
Views: 263
Posted By CrazY.
Re: restrict number players

You should ask in suggestions/requests if you want someone to do it for you.
Anyway, there you go


#include <amxmodx>
#include <crxranks>
#include <fun>
#include <hamsandwich>

new...
Forum: Scripting Help 04-11-2021, 10:49
Replies: 16
Views: 762
Posted By CrazY.
Re: Set armor and helmet using only engine

There is set_pev from fakemeta and if you're using reapi, set_entvar, but neither is better than the other, they just offer different functions. Which one to use? well, it depends on what you need....
Forum: Scripting Help 04-08-2021, 13:04
Replies: 5
Views: 270
Posted By CrazY.
Re: how to deal with task spam?

Either check if the task already exists before setting a new one or clear the hud before show_hudmessage.

https://www.amxmodx.org/api/amxmodx/task_exists...
Forum: Scripting Help 04-07-2021, 10:36
Replies: 14
Views: 568
Posted By CrazY.
Re: check prefix of fps_max or any other command

Instead of work with cvars, you could try to calculate the player fps in client_PreThink. Did that once to show it on the screen.
Forum: Scripting Help 03-17-2021, 13:45
Replies: 3
Views: 384
Posted By CrazY.
How to deal with SVC_TEMPENTITY overflow?

Hello, I have been struggling quite a bit with this problem


SZ_GetSpace: overflow on Client Datagram
WARNING: msg overflowed for CrazY.


That's happening because I'm spawning too many...
Forum: Suggestions / Requests 03-16-2021, 07:33
Replies: 6
Views: 309
Posted By CrazY.
Re: Simple Events Sounds Plugin

This should do it

#include <amxmodx>

#define SetPlayerBit(%1,%2) (%1 |= (1<<(%2&31)))
#define ClearPlayerBit(%1,%2) (%1 &= ~(1 <<(%2&31)))
#define CheckPlayerBit(%1,%2) (%1 & (1<<(%2&31)))
...
Forum: Suggestions / Requests 03-15-2021, 21:27
Replies: 6
Views: 309
Posted By CrazY.
Re: Simple Events Sounds Plugin

Here

#include <amxmodx>

#define SetPlayerBit(%1,%2) (%1 |= (1<<(%2&31)))
#define ClearPlayerBit(%1,%2) (%1 &= ~(1 <<(%2&31)))
#define CheckPlayerBit(%1,%2) (%1 & (1<<(%2&31)))

new const...
Forum: General 03-15-2021, 18:51
Replies: 4
Views: 673
Posted By CrazY.
Re: Got some problems zm mode

Don't get me wrong, I didn't want to be rude.
Forum: Suggestions / Requests 03-15-2021, 18:47
Replies: 6
Views: 309
Posted By CrazY.
Re: Simple Events Sounds Plugin

Should the sound be emitted to everyone or just to the player who in your case planted the bomb or killed with the knife?
Forum: Scripting Help 03-15-2021, 18:24
Replies: 4
Views: 260
Posted By CrazY.
Re: How to make a command switch? (How to execute commands with a button?)

#include <amxmodx>
#include <hamsandwich>

new bot_quota

public plugin_init()
{
RegisterHam(Ham_Use, "func_button", "OnUseButton", 1)
}
Forum: Scripting Help 03-14-2021, 13:21
Replies: 11
Views: 447
Posted By CrazY.
Re: Override a command

This is the source
https://github.com/alliedmodders/amxmodx/blob/master/plugins/admincmd.sma
Forum: HL1 Servers (HLDS) 03-14-2021, 09:47
Replies: 22
Views: 1,933
Posted By CrazY.
Re: ReHLDS or no?

Why are you running a cs 1.6 server at 1000 fps lol

https://i.imgflip.com/51nrtp.jpg
Forum: General 03-14-2021, 09:34
Replies: 4
Views: 673
Posted By CrazY.
Re: Got some problems zm mode

No steam is not supported here, you should ask for help elsewhere.
Forum: Scripting Help 03-14-2021, 09:30
Replies: 3
Views: 410
Posted By CrazY.
Re: Damage Entities

You need to post the code, but I guess you just have to detect when the laser hit the sentry and call Ham_TakeDamage
Forum: Suggestions / Requests 03-13-2021, 11:29
Replies: 5
Solved native
Views: 179
Posted By CrazY.
Re: native

That link fysiks provided instruct how to use natives. There is also an example plugin in amxmodx/testsuite called native_test.sma. Could you explain what is your doubt?
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 23:16.


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