AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   fw_PlayerPreThink (https://forums.alliedmods.net/showthread.php?t=130086)

Mrs.Cabi 06-20-2010 07:27

fw_PlayerPreThink
 
Hi guys, I was just wondering whether if there is two plugin which contain this:

PHP Code:

public plugin_init( ) 
{
    
register_forwardFM_PlayerPreThink"fw_PlayerPreThink" )
}

public 
fw_PlayerPreThinkid )
{



Will one of the plugin function wrongly ? If the two plugins are enable ?

Because I have 1 plugin doesn't work when other have that code and it is enable.

ConnorMcLeod 06-20-2010 07:34

Re: fw_PlayerPreThink
 
No, all is fine.
But obviously it depends on what code you put in plugins.

Mrs.Cabi 06-20-2010 07:38

Re: fw_PlayerPreThink
 
Quote:

Originally Posted by ConnorMcLeod (Post 1214131)
No, all is fine.
But obviously it depends on what code you put in plugins.

As in the both of the codes is same just that I changed the names.

For an example:

PHP Code:

zp_get_user_nemesisid 

&

PHP Code:

zp_get_user_survivor 


Arkshine 06-20-2010 08:19

Re: fw_PlayerPreThink
 
Better to show more code otherwise you won't get any concrete help.

abdul-rehman 06-20-2010 08:52

Re: fw_PlayerPreThink
 
Then put both plugins code into one..
Or put the whole code here


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

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