query question
Hello again. Sorry for spaming with posts.
I have this query: PHP Code:
PHP Code:
|
Re: query question
Try removing the quotes around the numbers.
|
Re: query question
Try to create the table without declaring the INTs size, since they are 4 bytes signed:
PHP Code:
|
Re: query question
none of them worked, but somehow works with numbers (15, 5 or what ever), but don't work with %i
maybe there isn t enough time for native get_user_frags/get_user_deaths to stock the data into variable ? |
Re: query question
Output your query as a string to verify how it's reaching the SQL module, and go from there. Doubtful it's a timing issue.
|
Re: query question
ok i found the problem: i use this function in client_disconnected and the function can't take users frags and deaths because he disconnected. is there any solution to create a prethink of client_disconnected to get the data?
|
Re: query question
Use fakemeta's FM_ClientDisconnect forward, this should be called before any AMXX module, so client isn't marked as disconnected.
|
Re: query question
The values are usually still accessible at client_disconnect(). If the above doesn't work, just store the values for each player in a variable, update kills/deaths at DeathMsg() for killer & victim.
|
Re: query question
I used DeathMsg to store their data.
Thanks. |
| All times are GMT -4. The time now is 02:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.