ok ok, update, I sorted the problems with compiling now I have a problem when running it in game.
Code:
public cmd_listrates(id,level,cid)
{
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new sPlayers[32]
new iPlayerCount
new i
new uid
/* get_players(sPlayers, iPlayerCount, "c") */
client_print(id,print_console,"Player Name | rate | cl_updaterate")
for (i=0; i<=iPlayerCount; i++)
{
uid = sPlayers[i]
get_user_info(uid,"name",sName,31)
get_user_info(uid,"rate",sRate,7)
get_user_info(uid,"cl_updaterate",sUpdaterate,7)
sLong=""
add(sLong,255,sName)
add(sLong,255," | ")
add(sLong,255,sRate)
add(sLong,255," | ")
add(sLong,255,sUpdaterate)
client_print(id,print_console,sLong)
}
return PLUGIN_HANDLED
}