Raised This Month: $ Target: $400
 0% 

[Question] client_putinserver


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-10-2015 , 09:49   Re: [Question] client_putinserver
Reply With Quote #1

Quote:
Originally Posted by ghost95v View Post
Hello, i just need a opinion, wich Way its good to use check name spam ?

with "set_task" ?

PHP Code:
public client_putinserverid )
         
set_task(1.0"Task_CheckName"id); 
or just this ?
PHP Code:
public client_putinserverid )
         (
Task_CheckName(id) ) 
Thank you.
When client_putinserver is called, player will have already a name so you don't need a task.
__________________
HamletEagle is offline
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 01-10-2015 , 11:22   Re: [Question] client_putinserver
Reply With Quote #2

Quote:
Originally Posted by HamletEagle View Post
When client_putinserver is called, player will have already a name so you don't need a task.
Sorry, but i dont understand you, or you didn't understand me, what you mean with "player will have already a name"...

I take for example, if 32 players have bad names, whats reliable to use ?. a Task or directly the function to check the bad name ( like ive typed above.


Quote:
Originally Posted by Natsheh View Post
You need to add client info changed forward so he can't change his name too in game to any existed name
of course.
__________________

Last edited by ghost95v; 01-10-2015 at 11:27.
ghost95v is offline
Send a message via Skype™ to ghost95v
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-10-2015 , 11:33   Re: [Question] client_putinserver
Reply With Quote #3

Quote:
Originally Posted by ghost95v View Post
Sorry, but i dont understand you, or you didn't understand me, what you mean with "player will have already a name"...

I take for example, if 32 players have bad names, whats reliable to use ?. a Task or directly the function to check the bad name ( like ive typed above.
well as my knowledge you need to make a config file & add all the bad word's and bad name's

& he meant that no need to use set_task because it wont be necessary, you can just call the function because the name will be available in client_inputserver!

Last edited by Natsheh; 01-10-2015 at 11:35.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 01-10-2015 , 11:57   Re: [Question] client_putinserver
Reply With Quote #4

Quote:
Originally Posted by Natsheh View Post
well as my knowledge you need to make a config file & add all the bad word's and bad name's

& he meant that no need to use set_task because it wont be necessary, you can just call the function because the name will be available in client_inputserver!
Of course @Natsheh, will do those functions...

Thnx both.
__________________

Last edited by ghost95v; 01-10-2015 at 11:58.
ghost95v is offline
Send a message via Skype™ to ghost95v
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 15:21.


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