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

how i make players get auto revived when they joined the server


Post New Thread Reply   
 
Thread Tools Display Modes
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-21-2013 , 09:40   Re: how i make players get auto revived when they joined the server
Reply With Quote #11

Quote:
Originally Posted by Kia View Post
PHP Code:
new g_pluginInformations][ ] =
{
    
"Respawn Player On Connect",
    
"1.0",
    
"De{a}gLe"
}; 
Can't express how useless this is..
I don't need your SPAM, think about your self not the others ...
TheDS1337 is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 06-21-2013 , 15:15   Re: how i make players get auto revived when they joined the server
Reply With Quote #12

Quote:
Originally Posted by Kia View Post
PHP Code:
new g_pluginInformations][ ] =
{
    
"Respawn Player On Connect",
    
"1.0",
    
"De{a}gLe"
}; 
Can't express how useless this is..
He can code the way he like as it doesn't affect the efficiency of the plugin.

BTW, Deagle.Studio, I would declare that array only in plugin_init so it doesn't get saved in the memory as you don't use it anywhere else.
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-21-2013 , 15:42   Re: how i make players get auto revived when they joined the server
Reply With Quote #13

Quote:
Originally Posted by pokemonmaster View Post
He can code the way he like as it doesn't affect the efficiency of the plugin.

BTW, Deagle.Studio, I would declare that array only in plugin_init so it doesn't get saved in the memory as you don't use it anywhere else.
it's the style xD, arrays and strings outside the function
TheDS1337 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-21-2013 , 18:21   Re: how i make players get auto revived when they joined the server
Reply With Quote #14

Just use this : https://forums.alliedmods.net/showthread.php?t=191815
Works fine.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-22-2013 , 03:29   Re: how i make players get auto revived when they joined the server
Reply With Quote #15

Quote:
Originally Posted by DeagLe.Studio View Post
I don't need your SPAM, think about your self not the others ...
But you think about others as well. Isn't that the reason why you provided that code? Anyway, using a global array for defining plugin info is not only useless, but I'd even go so far as to say it's stupid.
__________________
hleV is offline
Old 06-23-2013, 03:01
Row
This message has been deleted by ConnorMcLeod. Reason: spam
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 21:07.


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