It should be rateType[]
Code:
public send_msg(id, rateType[], rateValue)
{
new playerName[32]
new strMesg[128]
get_user_name(id,playerName,31)
format(strMesg,127,"[WARNING] - %s has a low %s value (%s)",playerName, rateType, rateValue)
// Inform any current admins of users low rate
new players[32], inum, playerid
// Get all the players
get_players(players,inum)
// For each player, check if they are an admin in order to know who to send msg to
for(new i = 0; i < inum; ++i)
{
playerid = players[i]
if (!(get_user_flags(playerid)&ADMIN_CHAT))
{
client_print(playerid,print_chat,strMesg)
}
}
}
__________________