Re: HELP with HEP!
Yes, there is, example:
PHP Code:
public pokehelp(id)
{
new poke_help_message[2555], iLen
new bool:its_a_motd = true
#if MOD==NS
its_a_motd = false
#endif
iLen += formatex(poke_help_message[iLen], (2555-iLen), "%sPokeMod%s",its_a_motd?"<center><b><font color=red size=+2>":EMPTY,its_a_motd?"</font></b></center>":EMPTY)
iLen += copy(poke_help_message[iLen], (2555-iLen), "<br>")
iLen += formatex(poke_help_message[iLen], (2555-iLen), "%sThe World of Pokemon with a Twist!%s",its_a_motd?"<center>":EMPTY,its_a_motd?"</center>":EMPTY)
iLen += copy(poke_help_message[iLen], (2555-iLen), "<br>")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>To see a list of commands, say /pokecommands")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<br>")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>Touch Prof. Oak for the poke menu(main menu)")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>There are 2 ways to \"catch\" pokemon.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>- 1. Buy a pokeball from Prof. Oak and kill someone.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>- 2. Go to the opposing teams base and pick up a pokeball.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>-- To see a list of pokemon, say \"/pokedex #\" or \"/pokedex name\"")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>To change pokemon, say /go <pokemon name>, or to see a menu say /go")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>To use pokemon skills and items, bind keys to +pokeskill and +pokeitem")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>- To bind a key, follow these steps:")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>- 1. Press the ` or ~ key to bring up the console")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>- 2. Type bind (key) (what to bind)")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>-- For this example you will want to bind +pokeskill or +pokeitem")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>- 3. Press enter and voila, now just press (key) and it will do what you binded")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>- Examples: bind v +pokeskill, bind f +pokeitem")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<br>")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>When you kill someone, you get experience based on their level.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>As your pokemon levels up, its skill becomes more invoking.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>When you get enough experience, your pokemon may evolve into a new pokemon.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>Your evolved pokemon will have its predecessor's skill and a new one.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>* Note that not all pokemon evolve with just experience.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<br>")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>Your max hp is based on the average level of your pokemon.")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<li>So go train them all!")
iLen += copy(poke_help_message[iLen], (2555-iLen), "<br>")
iLen += formatex(poke_help_message[iLen], (2555-iLen), "<br>Check the %sPokeMod Site%s for updates, suggestions, and other things.",its_a_motd?"<a href=\"http://www.deadrocks.com/forums/\">":EMPTY,its_a_motd?"</a>":EMPTY)
if(!its_a_motd){
replace_all(poke_help_message, 2555, "<li>", "\n-")
replace_all(poke_help_message, 2555, "<br>", "\n")
set_hudmessage(230,100,10,0.80,0.28, 0, 1.0, 20.0, 0.9, 0.9, -1)
show_hudmessage(id,poke_help_message)
}
else
show_motd( id, poke_help_message, "PokeHelp" )
return PLUGIN_HANDLED
}
(variables in pokemod)
|