replace string with number
Hi all ,
I am trying to code a custom ban ..there i want to replace %bantime% with bantime . So i used replace_all(str, 127, "%bantime%", dBanTime) But as its a number i think because of it I am getting the below error. Quote:
|
Re: replace string with number
Turn the number into a string using num_to_str().
|
Re: replace string with number
it worked like a charm ... thank you :D
|
| All times are GMT -4. The time now is 00:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.