format fixes
This commit is contained in:
@ -325,7 +325,7 @@ public client_death(killer, victim, wpnindex, hitplace, TK)
|
||||
format(team_name, 31, "%L", ppl[a], (epplnum == 1) ? g_teamsNames[team] : g_teamsNames[team + 2])
|
||||
format(message, 127, "%L", ppl[a], "REMAINING", epplnum, team_name)
|
||||
|
||||
show_hudmessage(ppl[a], message)
|
||||
show_hudmessage(ppl[a], "%s", message)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -438,7 +438,7 @@ public client_death(killer, victim, wpnindex, hitplace, TK)
|
||||
replace(message, 127, "$kn", killer_name)
|
||||
|
||||
set_hudmessage(100, 100, 255, -1.0, 0.29, 0, 6.0, 6.0, 0.5, 0.15, -1)
|
||||
show_hudmessage(players[i], message)
|
||||
show_hudmessage(players[i], "%s", message)
|
||||
}
|
||||
}
|
||||
|
||||
@ -514,7 +514,7 @@ public showStatus(id)
|
||||
show_hudmessage(id, "%s -- %d HP / %d AP / %s", name, get_user_health(pid), get_user_armor(pid), wpnname)
|
||||
} else {
|
||||
set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, g_channel[id])
|
||||
show_hudmessage(id, name)
|
||||
show_hudmessage(id, "%s", name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -585,7 +585,7 @@ public client_command(id)
|
||||
{
|
||||
if (equali(g_Aliases[g_AliasBlock[a]], arg) || equali(g_Aliases2[g_AliasBlock[a]], arg))
|
||||
{
|
||||
client_print(id, print_center, g_Restricted)
|
||||
client_print(id, print_center, "%s", g_Restricted)
|
||||
return PLUGIN_HANDLED
|
||||
}
|
||||
} while (++a < g_AliasBlockNum)
|
||||
@ -596,7 +596,7 @@ public client_command(id)
|
||||
|
||||
public blockcommand(id)
|
||||
{
|
||||
client_print(id, print_center, g_Restricted)
|
||||
client_print(id, print_center, "%s", g_Restricted)
|
||||
return PLUGIN_HANDLED
|
||||
}
|
||||
|
||||
@ -618,7 +618,7 @@ checkRest(id, menu, key)
|
||||
if (g_blockPos[(menu * 8 + key) + (get_user_team(id) - 1) * 56])
|
||||
{
|
||||
engclient_cmd(id, "menuselect", "10")
|
||||
client_print(id, print_center, g_Restricted)
|
||||
client_print(id, print_center, "%s", g_Restricted)
|
||||
|
||||
return PLUGIN_HANDLED
|
||||
}
|
||||
|
@ -294,7 +294,7 @@ public cmdHudTest(id)
|
||||
iLen += format(g_sBuffer[iLen], MAX_BUFFER_LENGTH - iLen, "....x....1....x....2....x....3....x....4....x....^n")
|
||||
|
||||
set_hudtype_killer(50.0)
|
||||
show_hudmessage(id, g_sBuffer)
|
||||
show_hudmessage(id, "%s", g_sBuffer)
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -862,7 +862,7 @@ show_roundend_hudstats(id, Float:fGameTime)
|
||||
{
|
||||
g_LastChannel[id] = next_hudchannel(id)
|
||||
set_hudtype_endround(id, fDuration)
|
||||
show_hudmessage(id, g_sAwardAndScore)
|
||||
show_hudmessage(id, "%s", g_sAwardAndScore)
|
||||
#if defined STATSX_DEBUG
|
||||
log_amx("Show %1.2fs round end HUD stats for #%d", fDuration, id)
|
||||
#endif
|
||||
@ -901,7 +901,7 @@ show_user_hudstats(id, Float:fGameTime)
|
||||
get_kill_info(id, iKiller, g_sBuffer)
|
||||
add_attacker_hits(id, iKiller, g_sBuffer)
|
||||
set_hudtype_killer(fDuration)
|
||||
show_hudmessage(id, g_sBuffer)
|
||||
show_hudmessage(id, "%s", g_sBuffer)
|
||||
#if defined STATSX_DEBUG
|
||||
log_amx("Show %1.2fs %suser HUD k-stats for #%d", fDuration, g_sBuffer[0] ? "" : "no ", id)
|
||||
#endif
|
||||
@ -911,7 +911,7 @@ show_user_hudstats(id, Float:fGameTime)
|
||||
{
|
||||
get_victims(id, g_sBuffer)
|
||||
set_hudtype_victim(fDuration)
|
||||
show_hudmessage(id, g_sBuffer)
|
||||
show_hudmessage(id, "%s", g_sBuffer)
|
||||
#if defined STATSX_DEBUG
|
||||
log_amx("Show %1.2fs %suser HUD v-stats for #%d", fDuration, g_sBuffer[0] ? "" : "no ", id)
|
||||
#endif
|
||||
@ -921,7 +921,7 @@ show_user_hudstats(id, Float:fGameTime)
|
||||
{
|
||||
get_attackers(id, g_sBuffer)
|
||||
set_hudtype_attacker(fDuration)
|
||||
show_hudmessage(id, g_sBuffer)
|
||||
show_hudmessage(id, "%s", g_sBuffer)
|
||||
#if defined STATSX_DEBUG
|
||||
log_amx("Show %1.2fs %suser HUD a-stats for #%d", fDuration, g_sBuffer[0] ? "" : "no ", id)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user