Raised This Month: $ Target: $400
 0% 

Questions about functions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 03-11-2017 , 07:04   Re: Questions about functions
Reply With Quote #3

Thanks for your response.

About question 2 :
IE :



PHP Code:
public plugin_init()
{
    
// . . .
    
register_clcmd("awp""cmd_awp")
    
// . . .
}

// return PLUGIN_HANDLED can be used to block the command

public cmd_awp()
{
    
my_custom_function()
    return 
PLUGIN_CONTINUE
}

my_custom_function() // or public my_custom_function()
{
    return 
PLUGIN_HANDLED

Does my_cunstom_function() return affect cmd_awp() return value ?
Fr33m@n is offline
 



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 17:56.


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