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

[HELP] Saving Player steamid to SQL


Post New Thread Reply   
 
Thread Tools Display Modes
SANTO37
Member
Join Date: Aug 2008
Old 06-30-2018 , 07:15   Re: [HELP] Saving Player steamid to SQL
Reply With Quote #11

Where should I add this command?
PHP Code:
client_print(idprint_chat"We've already registered you on the system."
SANTO37 is offline
Kushfield
Member
Join Date: Jan 2017
Location: Estonia
Old 06-30-2018 , 07:22   Re: [HELP] Saving Player steamid to SQL
Reply With Quote #12

Quote:
Originally Posted by SANTO37 View Post
Where should I add this command?
PHP Code:
client_print(idprint_chat"We've already registered you on the system."
Oh, that's what you're asking. Add it in register_client:
PHP Code:
if(SQL_NumResults(Query) < 1// No results - player not registered yet
else // Results found - player already registered 
Kushfield is offline
SANTO37
Member
Join Date: Aug 2008
Old 06-30-2018 , 07:25   Re: [HELP] Saving Player steamid to SQL
Reply With Quote #13

Thank you very much.
SANTO37 is offline
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 01:48.


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