Raised This Month: $18 Target: $400
 4% 

Showing results 1 to 25 of 87
Search took 0.01 seconds.
Search: Posts Made By: zXCaptainXz
Forum: Zombie Plague Mod 12-02-2022, 14:59
Replies: 8
Views: 156
Posted By zXCaptainXz
Re: Zombie mod extra weapons not working

I can't tell which plugin is causing interference. I suggest you first try disabling plugins.ini (rename it to plugins.in for example) and see if the problem persists. If it does, then it's a a...
Forum: Zombie Plague Mod 12-02-2022, 13:29
Replies: 8
Views: 156
Posted By zXCaptainXz
Re: Zombie mod extra weapons not working

Weird, it's working normally for me. Care posting your plugins.ini and plugins-zp50_ammopacks.ini here?
Forum: Zombie Plague Mod 12-02-2022, 11:06
Replies: 8
Views: 156
Posted By zXCaptainXz
Forum: Scripting Help 11-26-2022, 08:17
Replies: 5
Views: 305
Posted By zXCaptainXz
Re: Family Sharing ( Again )

Check your private messages please
Forum: Scripting Help 11-18-2022, 06:55
Replies: 26
Views: 518
Posted By zXCaptainXz
Re: Storing string in cVar

Looks like you didn't hear of compile-time operations. Not all operations are handled at runtime, if the compiler detects code that doesn't need to be computed at runtime, it will automatically do...
Forum: Scripting Help 10-27-2022, 16:45
Replies: 2
Views: 337
Posted By zXCaptainXz
Re: healing entities ?

Is this the part you're struggling with?

/*static Float:LastPrint = 0.0

new iOwner2 = pev(iEnt, DISPENSER_OWNER);
new CsTeam:iOwnerTeam = cs_get_user_team(iOwner2);
...
Forum: Scripting Help 10-26-2022, 14:40
Replies: 7
Views: 313
Posted By zXCaptainXz
Re: How to make entity (nade) push enemies? (not knockback)

When it touches the victim, should the nade?
1- Knock the victim back and explode immediately
2- Knock the victim back, and bounce the opposite direction?
3- Knock the victim back, and travel at...
Forum: Scripting Help 10-25-2022, 18:31
Replies: 7
Views: 352
Posted By zXCaptainXz
Re: best way to share an int array among plugins?

This is your main plugin where your global array will be stored, you have a register 2 native functions, one to get the array value for a specific index and another to set the array value for a...
Forum: Scripting Help 10-25-2022, 06:31
Replies: 6
Views: 164
Posted By zXCaptainXz
Re: [AMXX] Run time error 3: stack error

I'm dizzy as well to be perfectly honest, 2 questions:
- When is the error happening exactly?
- How many snowflakes do you have?
Forum: Scripting Help 10-24-2022, 05:29
Replies: 2
Views: 228
Posted By zXCaptainXz
Re: [tf2] attempting to override default projectile speed of syringes

Hey, you're posting in the wrong subforum, this is for AMX Mod X, this is the subforum for sourcemod https://forums.alliedmods.net/forumdisplay.php?f=107

You can surround your code with (remove...
Forum: Scripting Help 10-22-2022, 02:25
Replies: 4
Views: 262
Posted By zXCaptainXz
Re: mp3 and wav format

Set mp3volume and volume cvars to 1 maybe? It could be an issue with your CS. I don't know why you're mixing both wav and mp3, just use one or the other.
Forum: Scripting Help 10-20-2022, 18:14
Replies: 8
Views: 460
Posted By zXCaptainXz
Re: simple way to detect player stuck on spawn?

It's because of the error Natsheh pointed out, it should be &&(pev(player,pev_solid)!=SOLID_NOT)

Anyway, I tried this code and it removed a faulty spawn successfully, give it a shot


#include...
Forum: Scripting Help 10-20-2022, 14:12
Replies: 8
Views: 460
Posted By zXCaptainXz
Re: simple way to detect player stuck on spawn?

The part which I borrowed from that plugin is not complicated at all, it's simply calling TraceHull once and checking for collisions, no loops involved or anything. It is called only once on spawn....
Forum: Scripting Help 10-19-2022, 19:40
Replies: 8
Views: 460
Posted By zXCaptainXz
Re: simple way to detect player stuck on spawn?

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

public plugin_init() {
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1)
}

public...
Forum: Scripting Help 10-06-2022, 17:20
Replies: 4
Views: 424
Posted By zXCaptainXz
Re: Show Damage Plus

public client_connected(id, attacker)
{
set_task(1.0, "ComboControl", attacker, _, _, "b")
}

->

public client_putinserver(id)
{
set_task(1.0, "ComboControl", id, _, _, "b")
Forum: Scripting Help 10-06-2022, 06:58
Replies: 6
Views: 585
Posted By zXCaptainXz
Re: get id's id

Record[TopPlayer[1][KILL]][SELFKILL] should return the most killing player's self kills then
Forum: Zombie Plague Mod 09-19-2022, 05:06
Replies: 9
Views: 748
Posted By zXCaptainXz
Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?

Did you compile the .sma after editing it?
Forum: Zombie Plague Mod 09-18-2022, 12:04
Replies: 9
Views: 748
Posted By zXCaptainXz
Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?

Replace whatever's inside fw_TakeDamage in zp50_class_nemesis.sma with this


// Ham Take Damage Forward
public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type)
{
//...
Forum: Scripting Help 09-17-2022, 15:26
Replies: 3
Views: 359
Posted By zXCaptainXz
Re: Can we use IN_* keys in menus?

(get_user_button(id)&IN_RUN) (or IN_SPEED was it?) will be true if the player is holding shift, so add that check in your handler function

something like this

public menu_handler(id, key)
{...
Forum: Zombie Plague Mod 09-10-2022, 15:43
Replies: 9
Views: 748
Posted By zXCaptainXz
Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?

Do you want it to deal 250 damage in all cases? No matter if it's a stab/slash or headshot/backstab/body hit?
Forum: Scripting Help 09-08-2022, 15:46
Replies: 2
Views: 298
Posted By zXCaptainXz
Re: open new menu by command

In the plugin which contains the menu, create a native to open it, then call the native from the other plugin.
Forum: Scripting Help 09-06-2022, 17:32
Replies: 6
Views: 389
Posted By zXCaptainXz
Re: Fix attach_view issue please

Apparently attach_view was still stubborn even when it comes to AddToFullPack, I wrote a hybrid solution between the two, so I created 2 entities, and only inverted the angle for the owner in...
Forum: Scripting Help 09-06-2022, 15:52
Replies: 6
Views: 389
Posted By zXCaptainXz
Re: Fix attach_view issue please

This can be solved using AddToFullPack and editing the yaw from there for the owner only then instead of creating a new entity, let me know if you need help using that function.
Forum: Scripting Help 09-05-2022, 14:30
Replies: 6
Views: 389
Posted By zXCaptainXz
Re: Fix attach_view issue please

I apologize in advance for the spaghetti code but I really couldn't think of any other way to accomplish your goal... I created a duplicate entity, made it invisible, and made the attach_view follow...
Forum: Scripting Help 09-03-2022, 03:49
Replies: 8
Views: 434
Posted By zXCaptainXz
Re: Trying to Understand #define Macros values in War3TFT

I believe those are boolean (true/false) 2D arrays which manage player related data, 2D arrays are like a table with rows and columns, each player represents a row, and the required information on...
Showing results 1 to 25 of 87

 
Forum Jump

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


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