Change Mapname
I made a mapname changer but I have a problem about file (.ini)
Plugin doesn't get any mapname and change mapname. PHP Code:
|
Re: Change Mapname
Its because you are storing configs directory and mapnames in the same array.
|
Re: Change Mapname
Quote:
There is no problem about same file. It breaks "left" and "right". |
Re: Change Mapname
You can't compare this
Code:
Its rarely gonna return true, if ever. |
Re: Change Mapname
What are you trying to do with this?
PHP Code:
|
Re: Change Mapname
What I should do instead? I have to check the map is equal to left.
Omg it should be mapname instead of data !!! I got it. |
Re: Change Mapname
Still no working. Where is the mistake ? :S
Spoiler
|
Re: Change Mapname
What is left and right?
|
Re: Change Mapname
Put some debug messages. Output both mapname and left, also put a message inside the if check.
That's how you fix bugs. |
Re: Change Mapname
Quote:
If mapname is equal to left, mapname is going to be right. Code:
"de_dust2" "dust2" |
All times are GMT -4. The time now is 14:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.