Raised This Month: $ Target: $400
 0% 

need help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
n0way0out
Junior Member
Join Date: Mar 2013
Old 04-05-2013 , 01:47   Re: need help
Reply With Quote #1

Quote:
Originally Posted by Backstabnoob View Post
Something like that, replace double quotes by single ones, therefore you don't need to escape them with ^ and I don't even know how MySQL handles double quotes.

Only thing I don't understand is your enabled ? "LOGGED_IN" : "LOGGED_OUT" nonsense. Why do you even use it? Of course they will be logged in since you're calling the query from client_connect. Simply use SET Status = 'LOGGED_IN' in client_connect and LOGGED_OUT in client_disconnect.

Also, you're using "name" variable which doesn't even exist. You should check some basic pawn tutorials before trying to use more complex things such as MySQL.
thanx for helping me .. now everything is ok except one thing.

how i block user to connect my server if his status is LOGGED_IN . ?
n0way0out 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:26.


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