Raised This Month: $344 Target: $400
 86%   Almost there!

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: EFFx
Forum: Scripting Help 09-13-2022, 14:45
Replies: 8
Views: 292
Posted By EFFx
Re: identifying players by id false logic?

All I had to say has been said. You are years late buddy, nobody will make this change. The current 'false logic' is faster and easier for people to learn and use. Save you some time.
Forum: Scripting Help 09-13-2022, 06:33
Replies: 8
Views: 292
Posted By EFFx
Re: identifying players by id false logic?

Who's we? I've seen a lot of people using my cute babies on their servers. Your recommendation has been kindly declined and your attack did zero damage, Sir.

Well... I have nothing else to say...
Forum: Scripting Help 09-13-2022, 00:31
Replies: 3
Views: 212
Posted By EFFx
Re: statics (dumb question)

Yes.


static a, b, c, d, e // they all will be static



new a, b, c, d, e // static no longer, will start everytime with 0
Forum: Scripting Help 09-12-2022, 20:20
Replies: 3
Views: 212
Posted By EFFx
Re: statics (dumb question)

Yes. Will save the information you set until either a new one be given or you reset it.
Forum: Scripting Help 09-12-2022, 20:18
Replies: 8
Views: 292
Posted By EFFx
Re: identifying players by id false logic?

The admin must be a turtle then.
Forum: Scripting Help 09-11-2022, 01:25
Replies: 1
Views: 243
Posted By EFFx
Re: How is pain shock calculated?

This may help you: https://forums.alliedmods.net/showthread.php?t=301970
Forum: New Plugin Submissions 09-08-2022, 17:29
Replies: 518
Views: 104,947
Posted By EFFx
Re: PUBNite: BattleRoyale MOD - FINAL VERSION RELEASED!!!

I would definitely join there sometimes.
Forum: New Plugin Submissions 08-31-2022, 13:21
Replies: 13
Views: 1,244
Posted By EFFx
Re: Map Manager Modular

A lot of good plugins aren't in approved section because not all approvers have enough time to check them all, specially big ones.
Forum: New Plugin Submissions 08-30-2022, 02:12
Replies: 32
Views: 1,397
Posted By EFFx
Re: SideWeapons v0.1

You can put the grenades on the waist, since the animation of the grenade comes from the front to raising the hand backwards. Not that big of a grenade tho.
Forum: New Plugin Submissions 08-30-2022, 01:54
Replies: 32
Views: 1,397
Posted By EFFx
Re: SideWeapons v0.1

Seems pretty cool. Good job!
Forum: Suggestions / Requests 08-17-2022, 14:53
Replies: 2
Views: 251
Posted By EFFx
Re: [REQ] Third person mode for battle royale

Check my signature, there's a third view plugin version that may satisfy you.
Forum: Code Snippets/Tutorials 08-10-2022, 00:49
Replies: 1
Views: 615
Posted By EFFx
Re: Is it okay to copy snippets of code and tweak them?

I do this everytime. I'm too lazy to write the same stock or menu build everytime, so I copy everytime from the samples I already have and just edit them. Guess it's a common sense between coders, it...
Forum: Scripting Help 08-09-2022, 23:50
Replies: 11
Views: 505
Posted By EFFx
Re: distance between players

Your last statement is exactly my point. Short is indeed easy to fix, read and edit. The real problem is HOW the short code is written, doesn't mean what I said is false.
Forum: Scripting Help 08-09-2022, 23:18
Replies: 11
Views: 505
Posted By EFFx
Re: distance between players

What makes you say that? Why would I write a large code to do something easy, if I can use a smaller one which is faster and easy to understand, but with the same end goal?
Forum: Scripting Help 08-09-2022, 21:47
Replies: 15
Views: 734
Posted By EFFx
Re: Check if Attack has recieved damage from Victim

g_Victim[__int_Victim] = __int_Attacker

As soon as you damage someone, the victim will catch your id.
And then, when damaging again, use


if(g_Damage[__int_Attacker] == __int_Victim)

...
Forum: New Plugin Submissions 08-09-2022, 06:11
Replies: 46
Views: 5,329
Posted By EFFx
Re: Show Teammates Armament

Skipping spectators should be the quickest way. It happens as soon as you change players? Like everytime? First person view only or any camera mode it happens?
Forum: New Plugin Submissions 08-09-2022, 05:36
Replies: 46
Views: 5,329
Posted By EFFx
Re: Show Teammates Armament

So it is better than before? I wasn't able to test since I wasn't getting any overflow whatsoever. I will take a look about the icon issue.
Forum: Scripting Help 08-09-2022, 05:14
Replies: 15
Views: 734
Posted By EFFx
Re: Check if Attack has recieved damage from Victim

This triggers when you damage someone. The parameters are who took damage, who received and how much damage was taken (the last parameter is barely used). You cannot detect both at the same time.
...
Forum: Scripting Help 08-09-2022, 03:31
Replies: 11
Views: 505
Posted By EFFx
Re: distance between players

There's a lot of informations about how natives looks like inside github. The engine.cpp (https://github.com/alliedmodders/amxmodx/blob/master/modules/engine/entity.cpp) is the one that you should...
Forum: Scripting Help 08-09-2022, 01:30
Replies: 11
Views: 505
Posted By EFFx
Re: distance between players

If you are interested, here's this native you've used inside engine.cpp:


static cell AMX_NATIVE_CALL entity_range(AMX *amx, cell *params)
{
int idxa = params[1];
int idxb = params[2];
...
Forum: Scripting Help 08-09-2022, 01:26
Replies: 14
Views: 670
Posted By EFFx
Re: Switch Player to Spectator

Changing the teams multiple times in a round for example, whereas CS only lets once, by forcing jointeam command. Also, it'll force the kill event on the player, whereas cs_set_user_team() won't....
Forum: Scripting Help 08-07-2022, 22:12
Replies: 8
Views: 374
Posted By EFFx
Re: Loop Task or Flag B

This is what Natshed just told you about. But since we cannot change the variable size mid-game, we create them with the maximum value of players ID avaliable by the game, which is 32 players. Stick...
Forum: Suggestions / Requests 08-05-2022, 13:55
Replies: 9
Views: 425
Posted By EFFx
Re: Slay with max 3 warns

So the issue is probably using a compiler which does not have the colorchat included by default.
Forum: Scripting Help 08-05-2022, 03:23
Replies: 14
Views: 670
Posted By EFFx
Re: Switch Player to Spectator

This is Scripting Help, we ARE allowed to discuss what's better for you to use. Using fakemeta will be another way of changing teams, but requires more code to update the scoreboard info, which as...
Forum: New Plugin Submissions 08-05-2022, 01:02
Replies: 46
Views: 5,329
Posted By EFFx
Re: Show Teammates Armament

Which mistake are you talking about? The weapon icon?

About the proximity idea for rendering, it can be added as another feature to help with the overflow when there are loads of players as well....
Showing results 1 to 25 of 500

 
Forum Jump

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


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