Stock problem
Hi
This is first stock i try to do so dont put a gun in my head please :3 PHP Code:
Errors: Code:
Error: Argument type mismatch (argument 2) on line 66 |
Re: Stock problem
today_year - age_year
You can't do that with string. You have to convert them before in integer number, for example with str_to_num(). |
Re: Stock problem
lol forgot to convert it :3
Anyway that isnt the problem here... |
Re: Stock problem
Code:
set_user_age(id, str_to_num(age_year), str_to_num(age_month), str_to_num(age_day)) |
Re: Stock problem
PHP Code:
|
Re: Stock problem
thanks guys :)
|
Re: Stock problem
PHP Code:
Also, if you pass strings to this stock, it should looks like : PHP Code:
PHP Code:
|
Re: Stock problem
Well it runs good but now chat has a problem :3
PHP Code:
Code:
MSG_ONE or MSG_ONE_UNRELIABLE with no target entity |
Re: Stock problem
LOL
|
Re: Stock problem
I should use the plugin in your signature :3
But i get confused with your colorchat usage because of the second argument :| |
| All times are GMT -4. The time now is 18:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.