function adduser_func ( cmd, target )
local target = getPlayerFromPartialName ( target )
if target then
local row = guiGridListAddRow(GUIEditor.gridlist[1])
guiGridListSetItemText(GUIEditor.gridlist[1], row, column, getPlayerName(target), false, false)
outputChatBox("Player has been added to F5 menu sucessfully.", 0, 255, 0)
else
outputChatBox("* Player not found.", 255, 0, 0)
end
end
addCommandHandler ( "adduser", adduser_func )