Quote:
Originally Posted by Bugsy
It looks like you are trying to pass variables into the string but you do not specify the variables.
Try to stick to these:
Code:
%s - String
%f - Floating point number
%d - Integer
.....
|
thank,and i also know that..i try already..it's not work
PHP Code:
public hlg_check()
{
for( new id = 0; id <= g_MaxPlayers; id++ )
{
new name[33],ip[17]
get_user_name(id,name,32)
get_user_ip(id,ip,16)
server_cmd("hlg_action ^"u:found^" ^"hlg_say [HLG] Violation by %s(%s) detected^"",name,ip)
server_cmd("hlg_action ^"u:found^" ^"hlg_say [HLG] Violation: Something^"")
server_cmd("hlg_action ^"u:found^" ^"hlg_say [HLG] Punishment: ban^"")
server_cmd("hlg_action ^"u:found^" ^"amx_banip #%d 0^"",get_user_userid(id))
}
}
but the hlg file also setting like that