Sorry for the miss-post. I used your code, and added my display, this is what I am using now.
PHP Code:
public print_allTalk(id)
{
new alltalkStatus[256]
if(is_user_admin(id))
{
if(get_cvar_num("sv_alltalk") == 1)
{
format(alltalkStatus, 255, "%s All Talk: ON %s", COLOR)
}
else
{
format(alltalkStatus, 255, "%s All Talk: Off %s", COLOR) <-- Line 38
}
client_print(id, 255, alltalkStatus)
}
return PLUGIN_HANDLED
}
It compiles great, but in game when i use the command, I get this error:
PHP Code:
17:06:59: "sea$oned pRo<1><STEAM_0><CT>" say "/alltalk"
L 09/12/2008 - 17:06:59: String formatted incorrectly - parameter 5 (total 4)
L 09/12/2008 - 17:06:59: [AMXX] Displaying debug trace (plugin "alltalk.amxx")
L 09/12/2008 - 17:06:59: [AMXX] Run time error 25: parameter error
L 09/12/2008 - 17:06:59: [AMXX] [0] alltalk.sma::print_allTalk (line 38)
Any suggestions?