One problem
Hello guys.
I have problem with my script. Source: Code:
#include <amxmodx> |
Re: One problem
Hello. May be
Code: client_print(id, print_chat, szMoney); ? |
Re: One problem
1. I don't see where you store money in table.
2. szMoney is a string, so you should do Code:
client_print(id, print_chat, "%d", str_to_num(szMoney)); |
Re: One problem
Quote:
|
Re: One problem
Wut? In sql table you can put integers too...lawl. So will be:
Code:
new iResult; |
Re: One problem
1. Money there is by default in the table.
2. It's integer. Why do you think, that there is a string? In the table there is an integer. About ID - while I'm testing, I'm using ID 0 - if ID is null, the message shows to all players. Alka it aint working. |
Re: One problem
Quote:
|
Re: One problem
Error:
Quote:
Code:
public saymoney(id) |
Re: One problem
Duh...this is my first time when i use "dbi" lol , but with wiki i've maded this...
Code:
#include <amxmodx> |
| All times are GMT -4. The time now is 01:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.