View Single Post
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 03-13-2023 , 09:21   Re: say number motd number
Reply With Quote #12

Quote:
Originally Posted by bigdaddy424 View Post
in this case
Code:
#include <amxmodx> #define WEB_URL "https://google.com/search?q=" public plugin_init()     register_clcmd("say", "hook_say") public hook_say(id){     new text[8], command[8]     read_argv(1, text, charsmax(text))     formatex(command, charsmax(command), "%.3s", text)     if (equal(command, "top"))         show_motd(             id,             fmt("%s%d", WEB_URL, str_to_num(fmt("%s", text[3]))),             fmt("Top %d | %s", str_to_num(fmt("%s", text[3])), __DATE__)         )     return PLUGIN_HANDLED }
.sma(14 -- 16) : error 017: undefined symbol "fmt"
__________________
rx1983 is offline
Send a message via MSN to rx1983