Raised This Month: $32 Target: $400
 8% 

Optimize Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-19-2018 , 03:52   Re: Optimize Plugin
Reply With Quote #51

Quote:
Originally Posted by maqi View Post
Code:
wtf_is_this_shit_?();


Also your question has been answered, multiple times with multiple explanations.
Invalid native call, you get nothing, you lose, good day sir!
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 07-24-2018 , 06:54   Re: Optimize Plugin
Reply With Quote #52

Hey, I am using PreThink. Which command should I use?

PHP Code:
public PreThink(id)
{
    if(!
g_is_alive[id]) return;

    
//blabla
}

public 
Spawn(idg_is_alive[id] = true;

public 
Killed(victimg_is_alive[victim] = false;

//or

public PreThink(id)
{
    if(!
is_user_alive(id)) return;

    
//blabla

__________________
A plugin that is needed for every server.
PHP Code:
public client_connect(id)
{
    if(
get_user_iq(id) < 80)
    {
        
server_cmd("kick #%d 'You have kicked from the server because your IQ is not high enough'"get_user_userid(id));
    }

PurposeLessx is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-24-2018 , 07:10   Re: Optimize Plugin
Reply With Quote #53

Quote:
Originally Posted by PurposeLessx View Post
Hey, I am using PreThink. Which command should I use?

PHP Code:
public PreThink(id)
{
    if(!
g_is_alive[id]) return;

    
//blabla
}

public 
Spawn(idg_is_alive[id] = true;

public 
Killed(victimg_is_alive[victim] = false;

//or

public PreThink(id)
{
    if(!
is_user_alive(id)) return;

    
//blabla

1st
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Old 07-24-2018, 07:57
lazarev
This message has been deleted by lazarev. Reason: 11
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 07-24-2018 , 07:58   Re: Optimize Plugin
Reply With Quote #54

AmxModx Profiler?
__________________
A plugin that is needed for every server.
PHP Code:
public client_connect(id)
{
    if(
get_user_iq(id) < 80)
    {
        
server_cmd("kick #%d 'You have kicked from the server because your IQ is not high enough'"get_user_userid(id));
    }

PurposeLessx is offline
Old 07-28-2018, 15:54
SkumTomteN
This message has been deleted by SkumTomteN.
Reply


Thread Tools
Display Modes

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 02:27.


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