Raised This Month: $51 Target: $400
 12% 

[Request] Block Usp Damage


Post New Thread Reply   
 
Thread Tools Display Modes
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-08-2021 , 19:29   Re: [Request] Block Usp Damage
Reply With Quote #11

Ran an ENT counter. Either method, macro or variable yields same number of ents.
__________________

Last edited by DJEarthQuake; 10-09-2021 at 17:09. Reason: clipped counter code
DJEarthQuake is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-09-2021 , 04:33   Re: [Request] Block Usp Damage
Reply With Quote #12

PHP Code:
#include <amxmodx>

#define result func_call()

public plugin_init()
{
    
result
    result
    result
    result
    result
    result
}

public 
func_call()
{
    
server_print("Function called")

Code:
Function called
Function called
Function called
Function called
Function called
Function called
PHP Code:
#include <amxmodx>


public plugin_init()
{
    new 
result func_call()
    
result
    result
    result
    result
    result
    result
}

public 
func_call()
{
    
server_print("Function called")

Code:
Function called

This is a simple concept, it shouldn't be a topic of 2 pages. Plus, we are derailing the topic. Do some research on your own or open a topic in scripting help if you want more information. I already explained several times in several different ways so there is nothing else I can do.
__________________

Last edited by HamletEagle; 10-09-2021 at 04:38.
HamletEagle is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-09-2021 , 17:27   Re: [Request] Block Usp Damage
Reply With Quote #13

Unsure why it wasn't reflecting then but it is today. Probably because bots were present. Got it more isolated. The #define method was making 5 more ents. Thank you.
__________________
DJEarthQuake is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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