Raised This Month: $350 Target: $400
 87%   Almost there!

Showing results 1 to 25 of 71
Search took 0.01 seconds.
Search: Posts Made By: zXCaptainXz
Forum: Zombie Plague Mod 09-19-2022, 04:06
Replies: 9
Views: 335
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, 11:04
Replies: 9
Views: 335
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, 14:26
Replies: 3
Views: 188
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, 14:43
Replies: 9
Views: 335
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, 14:46
Replies: 2
Views: 224
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, 16:32
Replies: 6
Views: 305
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, 14:52
Replies: 6
Views: 305
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, 13:30
Replies: 6
Views: 305
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, 02:49
Replies: 8
Views: 348
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...
Forum: Scripting Help 09-02-2022, 16:22
Replies: 8
Views: 348
Posted By zXCaptainXz
Re: Trying to Understand #define Macros values in War3TFT

Like I said above, each task needs a specific ID in order to check if it exists/remove it. If you define TASK_LIGHTING as 960, then tasks 961,962,963...992 will be the tasks responsible for creating...
Forum: Scripting Help 09-02-2022, 15:27
Replies: 8
Views: 348
Posted By zXCaptainXz
Re: Trying to Understand #define Macros values in War3TFT

Tasks are used to execute functions in a timely manner. You can schedule a function to be executed once, multiple times, or infinitely, while passing the required parameters. Check this link out for...
Forum: Scripting Help 07-10-2022, 17:46
Replies: 5
Views: 262
Posted By zXCaptainXz
Re: Damage problem

Say "damage" is the name of the 4th argument in your Ham_TakeDamage function, when you call SetHamParamFloat(4, somerandomvalue), the "damage" argument remains the same, it's only changed for the...
Forum: Scripting Help 06-28-2022, 06:02
Replies: 4
Views: 325
Posted By zXCaptainXz
Re: Get only the x axis

He probably wants to damage players in front of him only, won’t even bother to help because he’s going to delete his post after a solution is posted as usual.
Forum: Scripting Help 06-03-2022, 16:45
Replies: 11
Views: 485
Posted By zXCaptainXz
Re: Checking member file

I see where this is going… I’m not willing to make this method public because people will exploit it.
Forum: Scripting Help 06-03-2022, 15:18
Replies: 11
Views: 485
Posted By zXCaptainXz
Re: Checking member file

Rechecker + ReHLDS
You could also use this https://forums.alliedmods.net/showthread.php?t=143699
Forum: Scripting Help 05-31-2022, 14:39
Replies: 4
Views: 274
Posted By zXCaptainXz
Re: Zombie Plague: Redux [rewrite version]

public zp_fw_core_cure_post( i_Client /* , i_Attacker, i_Force */ )
{
if( !is_user_valid_alive( i_Client ) )
{
return;
}
}

You should not check if the user is alive in any of your...
Forum: Scripting Help 05-31-2022, 12:03
Replies: 4
Views: 274
Posted By zXCaptainXz
Re: Zombie Plague: Redux [rewrite version]

Hi, I would be happy to help but there's 3 problems with your request:
1. You're rewriting an (almost) perfectly fine version of ZP, any reason why you're doing that?
2. There are many sketchy...
Forum: Scripting Help 05-30-2022, 15:17
Replies: 1
Views: 183
Posted By zXCaptainXz
Re: How to set admin/vip skin in ZM Plague?

zp_admin_models_human_player 1 // Enable admin player models for humans
zp_admin_models_zombie_player 1 // Enable admin player models for zombies

Enable those cvars in zombieplague.cfg (not...
Forum: Scripting Help 05-19-2022, 13:51
Replies: 24
Views: 944
Posted By zXCaptainXz
Re: Run time error 1

Can you answer his question? What's in your jailbreak_core.inc file?
Forum: Zombie Plague Mod 04-25-2022, 19:21
Replies: 2
Help / Support Game is always crashing
Views: 772
Posted By zXCaptainXz
Re: Game is always crashing

Ok hold on a second, are you running ZP 5.0 or ZP 4.3 right now? Because if you are running ZP 5.0 then you should not have zombie_plague.amxx in your plugins config.

The only thing I can think of...
Forum: Scripting Help 04-24-2022, 15:04
Replies: 12
Views: 546
Posted By zXCaptainXz
Re: Blocking func_conveyor.

What he said works, you can try this if you want, type amx_disable to disable to disable all conveyors, amx_enable to enable them all again, you can use whatever is inside cmdDisable and cmdEnable in...
Forum: Scripting Help 04-24-2022, 13:58
Replies: 25
Views: 825
Posted By zXCaptainXz
Re: How to make "a = b" in AMXX scripting

You could have searched but sure...

Code:


#include <amxmodx>

public client_putinserver(id)
{
query_client_cvar(id, "cl_cmdrate", "cvar_query_callback")
Forum: Scripting Help 04-24-2022, 13:52
Replies: 2
Views: 258
Posted By zXCaptainXz
Re: Help Me Errors compile

Add this on top of your file

#include <fakemeta>
Forum: Scripting Help 04-24-2022, 08:26
Replies: 25
Views: 825
Posted By zXCaptainXz
Re: How to make "a = b" in AMXX scripting

You can use query_client_cvar to query any of their cvars
https://www.amxmodx.org/api/cvars/query_client_cvar
Forum: Scripting Help 04-23-2022, 16:12
Replies: 25
Views: 825
Posted By zXCaptainXz
Re: How to make "a = b" in AMXX scripting

Code:

#include <amxmodx>

new String[ 5 ] = "bate";

public plugin_init()
{
String[0] = 'r';
}
Showing results 1 to 25 of 71

 
Forum Jump

All times are GMT -4. The time now is 04:58.


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