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

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Bugsy
Forum: Scripting Help 04-13-2024, 10:32
Replies: 9
Views: 299
Posted By Bugsy
Re: Something about dynamic arrays

Other people may be in the same boat as you, and find your post. Problem solved.
Forum: Scripting Help 04-10-2024, 12:28
Replies: 12
Views: 564
Posted By Bugsy
Re: CurWeapon Event

Either one, but I hesitate to use _ex as some people are using ancient versions of AMX-X and I don’t feel like adding pre-processor directives to keep it compatible across all versions.
Forum: Scripting Help 04-08-2024, 21:14
Replies: 12
Views: 564
Posted By Bugsy
Re: CurWeapon Event

Or just use register_event()…
Forum: Scripting Help 04-08-2024, 08:41
Replies: 12
Views: 564
Posted By Bugsy
Re: CurWeapon Event

“and withdraw slowly”? What does that mean?
Forum: Scripting Help 04-07-2024, 10:13
Replies: 12
Views: 564
Posted By Bugsy
Re: CurWeapon Event

These are what you have to work with from a conditions perspective in the CurWeapon event.

https://wiki.alliedmods.net/Half-life_1_game_events

Name: CurWeapon
byte IsActive
byte WeaponID...
Forum: Scripting Help 04-06-2024, 00:34
Replies: 12
Views: 564
Posted By Bugsy
Re: CurWeapon Event

Try

register_event("CurWeapon" , "knifeBuff" , "be" , "1=1" );
Forum: Scripting Help 04-04-2024, 11:57
Replies: 13
Views: 564
Posted By Bugsy
Re: nVault save + load

nVault is very simple, take a look at this (https://forums.alliedmods.net/showthread.php?t=91503). Ask if you have any questions.
Forum: Scripting Help 03-31-2024, 20:15
Replies: 10
Views: 472
Posted By Bugsy
Re: Setting access flags for all players

I still don't think you understand his ask.

"How can I make sure that all players have a different access flag when entering and not the standard one for ordinary players?"

To me this reads as...
Forum: Scripting Help 03-30-2024, 19:47
Replies: 21
Views: 1,540
Posted By Bugsy
Re: CurWeapon event will fire on Fire

I tried getting the weapon entity index the simplest way using find_ent_by_owner(), but this was returning 0 because the owner of the weapon is not yet established when the WeapPickup event is...
Forum: Scripting Help 03-30-2024, 15:51
Replies: 21
Views: 1,540
Posted By Bugsy
Re: CurWeapon event will fire on Fire

Change read_data( 2 ) to read_data( 1 ). What do you need the entity ID for?


Name: WeapPickup
Structure:
byte WeaponID
Forum: Scripting Help 03-30-2024, 15:11
Replies: 21
Views: 1,540
Posted By Bugsy
Re: CurWeapon event will fire on Fire

What event is triggering weapon_pickup?
Why are you checking if the weapon entity (iEntity) is equal to admin? This may just be bad variable naming.
What does admin hold?

If you are using...
Forum: Suggestions / Requests 03-30-2024, 13:08
Replies: 8
Views: 509
Posted By Bugsy
Re: Cerere Alien vs Human mod

Stop bumping your threads
Forum: Scripting Help 03-30-2024, 11:49
Replies: 10
Views: 472
Posted By Bugsy
Re: Setting access flags for all players

You mean get_user_flags()?
Forum: Scripting Help 03-29-2024, 20:34
Replies: 6
Views: 260
Posted By Bugsy
Re: REQ - Script Help.

I need very specific criteria for how it should work... I cant read your mind and magically make it happen. Every aspect of a plugin has to be coded for what it will do.
Forum: Scripting Help 03-29-2024, 19:48
Replies: 6
Views: 260
Posted By Bugsy
Re: REQ - Script Help.

So you want a plugin that executes a console command every X random seconds?
Forum: Scripting Help 03-29-2024, 18:55
Replies: 6
Views: 260
Posted By Bugsy
Re: REQ - Script Help.

Explain what you want the outcome to be so nobody is making assumptions. Are you trying to make the bots look like real players, coming and going at random?
Forum: Scripting Help 03-27-2024, 20:52
Replies: 3
Views: 231
Posted By Bugsy
Re: Detecting player is standing.

This may help, depending on what your goal is. As you found, there is no IN_STAND, so you have only IN_DUCK to work with.



#include <amxmodx>
#include <fakemeta>

public plugin_init()
{...
Forum: Scripting Help 03-23-2024, 21:35
Replies: 2
Views: 324
Posted By Bugsy
Re: Is there an alternative to reapi's rg_set_iteminfo?

https://forums.alliedmods.net/showpost.php?p=2077036&postcount=256
Forum: Scripting Help 03-17-2024, 14:46
Replies: 6
Views: 1,934
Posted By Bugsy
Re: Open menu only once per round

Show your full code, and put your code between php tags. [ php ] [/ php ] (without spaces)
Forum: Suggestions / Requests 03-16-2024, 20:38
Replies: 7
Views: 468
Posted By Bugsy
Re: mysql

Ok, you will need to provide more info if you want someone to do it for you, ideally your entire plugin. We will need to know the specific fields that are needed in the db, and what type of...
Forum: Suggestions / Requests 03-16-2024, 19:49
Replies: 7
Views: 468
Posted By Bugsy
Re: mysql

To answer your question, look for topics that involve the sqlx module (just search for sqlx), and you will find examples on how to use it. Note that SQL is not as simple as nvault, as nvault does all...
Forum: Suggestions / Requests 03-16-2024, 14:34
Replies: 7
Views: 468
Posted By Bugsy
Re: mysql

Moved to Suggestions/Requests
Forum: Suggestions / Requests 03-14-2024, 06:25
Replies: 18
Views: 967
Posted By Bugsy
Re: Auto Name

But yours will constantly get spammed, mine won’t. Add logs within both codes to see. The extra code is to make it only fire for a name change, nothing else.
Forum: Suggestions / Requests 03-13-2024, 16:28
Replies: 18
Views: 967
Posted By Bugsy
Re: Auto Name

Not sure what you mean by your second request.



#include <amxmodx>
#include <fakemeta>

new const Version[] = "0.2";

#define MAX_PLAYERS 32
Forum: Scripting Help 03-09-2024, 23:27
Replies: 3
Views: 283
Posted By Bugsy
Re: Problem with armor calculation Ham_TakeDamage

If you're looking for the true damage (loss in HP) use pev( id , pev_dmg_take ), after the damage was issued -- takedamage post will be fine. The damage value passed through Ham_TakeDamage is total...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 05:02.


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