And also /rem removes both tasks.
PHP Code:
register_clcmd("say /add", "Add");
register_clcmd("say /rem", "Rem");
}
public Add(player) {
set_task(5.0, "Show", player);
}
public Rem(player) {
remove_task(player);
}
public Show(player) {
client_print(player, print_chat, "!!!");
}
__________________