How can I define mapchange ?
Hello!
I'm beginner. How can I do something like that: if(mapchanging){ print("mapname") } How can I define the variables? |
Re: How can I define mapchange ?
the forward "plugin_end() is called when map is changing.
you can just do get_mapname() in there and client_print() it to the chat. |
Re: How can I define mapchange ?
I tried to code.... The result:
Code:
plugin_end()(I'm just beginner -_- ) |
Re: How can I define mapchange ?
no lol thats nt the problem, I am not good with the multilingual thingy but I am pretty sure it should be like this:
Code:
Code:
PLAYED_MAP = We just finished playing %s |
Re: How can I define mapchange ?
the full code should be like this:
Code:
|
Re: How can I define mapchange ?
Double post? ;)
|
Re: How can I define mapchange ?
ya sorry deleted
|
Re: How can I define mapchange ?
I tried, but the code doesn't work. I went into my server and changed map.
(amx_map blah blah) There showed "Admin blah blah changed map to", but there didn't show anything else. |
Re: How can I define mapchange ?
plugin_end is executed too late.. use the intermission event
|
Re: How can I define mapchange ?
Can you give some example ? Or some info about it?
Or full code? xDDD |
| All times are GMT -4. The time now is 21:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.