if map name do this else do that
hello dear alliedmods forum members.
i need simple script , script get currect map name , if curret map dosen't in my special list than do somthing . thanks. |
Re: if map name do this else do that
PHP Code:
|
Re: if map name do this else do that
error 001: expected token: ">" , but found "{"
line 23 after if(contain(map, g_maps) |
Re: if map name do this else do that
Code:
|
Re: if map name do this else do that
Quote:
|
Re: if map name do this else do that
Quote:
PHP Code:
PHP Code:
|
Re: if map name do this else do that
you shouldnt use contain there since the plugin might get confused if you have like de_dust2_long or something in that list and the map is de_dust2, better to use equal
|
Re: if map name do this else do that
Fixed
|
Re: if map name do this else do that
Quote:
|
Re: if map name do this else do that
Actually it's better to use equali() in case you have some maps with names like dE_DuSt2 or w/e.
|
| All times are GMT -4. The time now is 08:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.